使用云函数在外部浏览器跳转到小程序时候,如果对传入参数进行编码无法跳转, 如下:
无编码跳转 (成功)
https://www.balabala.com/h5-test/open-app/index.html?sign=6bf1211944e81efe67bb7e93f78a73ac&t=1614244239&path=/pagesSubB/dynamic-view/dynamic-view&scene=gid=167&uid=0&unid=2
编码跳转 (失败)
https://www.balabala.com/h5-test/open-app/index.html?sign=6bf1211944e81efe67bb7e93f78a73ac&t=1614244239&path=/pagesSubB/dynamic-view/dynamic-view&scene=gid%3D167%26uid%3D0%26unid%3D2
生成scheme地址的时候没提示你query错误么?
这里有你想要的,你的path参数应该decodeURIComponent后使用,而且未看到你动态修改wx-open-launch-weapp的path值,这会导致链接在微信内访问无法跳转制定路径
https://developers.weixin.qq.com/community/develop/article/doc/000a2401698830c77f9bfa92c51813