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

Signed-off-by: 也曾为你像超人 <1553592282@qq.com>
This commit is contained in:
也曾为你像超人 2023-04-01 03:17:47 +00:00 committed by Gitee
parent cfce89be7d
commit 66200c4203
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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()
}) })