转发的页面在onLoad执行decodeURIComponent无效
发布于 6 年前 作者 wei56 9213 次浏览 来自 问答

A页面跳转到B页面时将参数encodeURIComponent:

B页面onLoad方法decodeURIComponent:

小程序内点击跳转进入B页面decode正常:

但是,转发出去的页面decode失败:

P.S. 写到onReady则都可以成功

回到顶部