修复 关闭其他标签 没有全关闭的问题

This commit is contained in:
sakuya 2021-05-12 21:30:54 +08:00
parent e4dc74833e
commit 2db9b2084d
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@
//TAB
closeOtherTabs(){
var nowTag = this.contextMenuItem;
var tags = this.tagList;
var tags = [...this.tagList];
tags.forEach(tag => {
if(tag.meta&&tag.meta.affix || nowTag.path==tag.path){
return true