Taro.navigateTo({url: '/pages/index/index?name=哟'})
// Taro.redirectTo({url: '/pages/index/index'})
另一界面接受
componentDidMount () {
let {name}=this.$router.params
this.setState({
name:name
})
}
Taro.navigateTo({url: '/pages/index/index?name=哟'})
// Taro.redirectTo({url: '/pages/index/index'})
另一界面接受
componentDidMount () {
let {name}=this.$router.params
this.setState({
name:name
})
}
本文标题:taro跳转
本文链接:https://www.haomeiwen.com/subject/xdeyoqtx.html
网友评论