vue 页面跳转。路由配置

//当触发一个按钮,发生跳转

applyDetail(index) {

//路由跳转

this.$router.push({

path: "/huaxiainsuranceApplyDetail",//目标地址,vue的跳转需要单独的配置

query: {

//跳转携带的参数信息

    userId: this.insuranceList[index].userId,

    idAdd: this.insuranceList[index].id,

    applyNoEditor: this.insuranceList[index].applyNo,

    applyStatus: this.insuranceList[index].status//当前领药状态

扫描二维码关注公众号,回复: 4081794 查看本文章

}

});

},

//配置,路由

这样,你的按钮再点击的时候,就可以跳转了。

猜你喜欢

转载自blog.csdn.net/qq_38214630/article/details/84100346