navigateTo跳转页面会偶现URI malformed?
发布于 4 年前 作者 leijia 8257 次浏览 来自 问答

navigateTo 跳转页面,跳转到目标页面A, 偶现 URIError: URI malformed错误,导致页面无法渲染,请问如何处理?

跳转的页面地址 : /pages/activityDetail/index?id=41

出现的错误:

SystemError (jsEnginScriptError)

URI malformed

URIError: URI malformed

    at encodeURIComponent (<anonymous>)

    at Array.map (<anonymous>)

    at g.value (http://127.0.0.1:15691/appservice/__dev__/WAService.js:2:2240456)

    at http://127.0.0.1:15691/appservice/__dev__/WAService.js:2:2244009

    at g.value (http://127.0.0.1:15691/appservice/__dev__/WAService.js:2:2239898)

    at g.value (http://127.0.0.1:15691/appservice/__dev__/WAService.js:2:2242886)

    at et.p.__callPageLifeTime__ (http://127.0.0.1:15691/appservice/__dev__/WAService.js:2:2263822)

    at http://127.0.0.1:15691/appservice/__dev__/WAService.js:2:2294320

    at Function.<anonymous> (http://127.0.0.1:15691/appservice/__dev__/WAService.js:2:2295109)

    at http://127.0.0.1:15691/appservice/__dev__/WAService.js:2:2255416

1 回复

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部