Commit 51cbcdb4 by haojie

音色页面不能播放音频的问题

parent ff239aa5
......@@ -6,7 +6,7 @@
<template v-if="item.audit_status == LIVE_AUDIT_STATUS.LIVE_AUDIT_STATUS_FINISH || true">
<div class="my-person-loading-item">
<Audio
:url="item.audio_url"
:url="item.audio_url ? item.audio_url : item.audition_url"
mode="2"
:id="item.id"
@startPlay="startPlay"
......
......@@ -3,7 +3,7 @@
<div class="record-items" v-for="item in list" :key="item.id">
<div class="left">
<Audio
:url="item.audio_url"
:url="item.audio_url ? item.audio_url : item.audition_url"
mode="3"
:id="item.id"
@startPlay="startPlay"
......
......@@ -9,7 +9,7 @@ const error_messaage = '请求错误';
const getBaseUrl = async () => {
if (isDev()) {
//
// return 'http://156.247.11.21:92/';
return 'http://156.247.11.21:93';
return '';
}
// 默认线上地址
......@@ -30,8 +30,8 @@ const getBaseUrl = async () => {
const instance = axios.create({
baseURL: '',
// withCredentials: false,
withCredentials: isDev() ? true : false,
withCredentials: false,
// withCredentials: isDev() ? true : false,
});
// 请求拦截
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment