From 75343a726d1aea31669d4f3db78a5c683bd616f7 Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Tue, 30 Apr 2024 20:22:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=89=93=E5=BC=80?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E7=9A=84=E5=8F=82=E6=95=B0=E6=94=AF=E6=8C=81?= =?UTF-8?q?=20object?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/chat/chat.nvue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/chat/chat.nvue b/pages/chat/chat.nvue index 9cbbd0a..11f7c81 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); }, -- GitLab