优化一个小写法

This commit is contained in:
田岩
2025-12-15 09:12:04 +08:00
parent 5774ea2514
commit 55d8044d71
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ ENV = 'development'
# VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
#VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
@@ -14,7 +14,7 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# VITE_APP_BASE_API_Url = 'http://aitscdn.jlbank.com.cn:7001'
# VITE_APP_BASE_API_Url = 'http://192.168.108.129'
# dev
#VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
# sit
#VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
+3 -2
View File
@@ -35,7 +35,8 @@
onUnmounted,
computed,
getCurrentInstance,
nextTick
nextTick,
toRaw
} from 'vue';
import {
onShow,
@@ -254,7 +255,7 @@
});
onMounted(() => {
initConnection({
authParams: Object.assign({}, dataInfo),
authParams: toRaw(dataInfo),
onStartRecord: onStartRecord,
playPcmCallback: (res) => talkSpeakerRef.value.playPCM(res),
setPlayNumber: (id) => talkSpeakerRef.value.setPlayNumber(id),