Taro小程序路由跳转接收参数 大娱 2021-03-04 858 阅读1分钟 跳转方法 go = () => { Taro.navigateTo({ url: `../my/index?id=${2}&key=${0}` }) } Taro 2.x版本 componentWillMount() { let parmas = this.$router.params } Taro 3.x版本 componentWillMount() { let parmas = getCurrentInstance().router }