refactor: 浏览器回退问题

This commit is contained in:
shiziyuan9527 2020-08-06 14:41:20 +08:00
parent 9ebc2163ba
commit 3db24258f4
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
methods: { methods: {
changeRoute() { changeRoute() {
// //
this.$router.push({path: this.index, query: {type: 'all'}}); this.$router.replace({path: this.index, query: {type: 'all'}});
} }
} }
} }