Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我用 taro 开始 支付宝小程序: 在 A页面中 ,用这段代码跳转到 B 页面 :
Taro.navigateTo({ url: '/pages/test/questions/index?examId=123', })
B页面代码:
componentWillMount() { console.log(this.$router.params) }
结果却报错 TypeError: Cannot read property 'params' of undefined