diff --git a/sdk/ext/index.js b/sdk/ext/index.js index 2bcd6768c862416f35cea13c3d65a8bc35f85705..7574b5463439d8c68f181c8f0f29211fcd61d099 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}) }