优化一个小写法

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
+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),