提交 3db24258 编写于 作者: S shiziyuan9527

refactor: 浏览器回退问题

上级 9ebc2163
......@@ -14,7 +14,7 @@
methods: {
changeRoute() {
// 解决在列表页面点击 显示全部 无效的问题(点击显示全部后改变路由)
this.$router.push({path: this.index, query: {type: 'all'}});
this.$router.replace({path: this.index, query: {type: 'all'}});
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册