优化一个小写法
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user