From 4d94783cbfd5a24307f3b2ae235bdbaac2963200 Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Tue, 30 Apr 2024 20:21:14 +0800 Subject: [PATCH] Update index.js --- sdk/ext/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/ext/index.js b/sdk/ext/index.js index 2bcd676..7574b54 100644 --- a/sdk/ext/index.js +++ b/sdk/ext/index.js @@ -4,14 +4,13 @@ export default { if ($state.isWidescreen) { uni.$emit('uni-im-toChat', param) } else { - console.log('uni-im-toChat', param) let url = '/uni_modules/uni-im/pages/chat/chat?' for (let key in param) { let value = param[key] if (typeof value === 'object') { value = decodeURIComponent(JSON.stringify(value)) } - url += key + '=' + param[key] + '&' + url += key + '=' + value + '&' } uni.navigateTo({url,animationDuration: 300}) } -- GitLab