修复tab栏”关闭其他“异常的问题

master
RuoYi 2023-04-05 19:03:18 +08:00
parent 23ae0eb43b
commit d4bae9745c
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ export default {
}) })
}, },
closeOthersTags() { closeOthersTags() {
this.$router.push(this.selectedTag).catch(()=>{}); this.$router.push(this.selectedTag.fullPath).catch(()=>{});
this.$tab.closeOtherPage(this.selectedTag).then(() => { this.$tab.closeOtherPage(this.selectedTag).then(() => {
this.moveToCurrentTag() this.moveToCurrentTag()
}) })