diff --git a/pages/chat/chat.nvue b/pages/chat/chat.nvue index 9cbbd0a358311aa097ec64372902fdc3db0971b2..11f7c81173a82632279c3f317b3a4fdd93764d84 100644 --- a/pages/chat/chat.nvue +++ b/pages/chat/chat.nvue @@ -604,6 +604,11 @@ uniIm.audioContext.stop() }, async onLoad(param) { + for (const key in param) { + try{ + param[key] = JSON.parse(param[key]) + }catch(_){} + } //调用load方法,因为pc宽屏时本页面是以组件形式展示。如$refs.chatView.loadconversation_id()执行 await this.load(param); },