首页 > 其他 > 详细

动态修改路由参数

时间:2021-01-29 23:43:26      阅读:42      评论:0      收藏:0      [点我收藏+]
/**
* 移出黑名单
* @param id 主键
*/
@Confirm({ title: ‘移出黑名单‘, content: ‘是否移出黑名单?‘ })
public handleOut(id: string) {
this.vdRequest(API_USER_BLACK, { id: id, isBlacklist: 0 }).then(() => {
this.isBlack = 0;
this.$router.push({ params: { ...this.$route.params, isBlacklist: ‘0‘ } });
});
}

动态修改路由参数

原文:https://www.cnblogs.com/lhx5213/p/14346103.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!