diff --git a/src/components/talk/message/system/sysPushMessage.vue b/src/components/talk/message/system/sysPushMessage.vue index f701a1c..6a9a2d6 100644 --- a/src/components/talk/message/system/sysPushMessage.vue +++ b/src/components/talk/message/system/sysPushMessage.vue @@ -63,7 +63,17 @@ const getTextContent = computed(() => { //点击向webview通信,处理智能助手系统消息 const handleSysMessagePush = () => { - handleFindWebview(`handleSysMessagePush('${encodeURIComponent(props?.extra?.url)}')`) + handleFindWebview( + `handleChatRobotSysMessagePush('${encodeURIComponent( + JSON.stringify({ + url: props?.extra?.url, + msg_type: props?.data?.msg_type, + }), + )}')`, + ) + uni.reLaunch({ + url: '/pages/index/index', + }) } @@ -71,8 +81,10 @@ const handleSysMessagePush = () => {