修复 关闭其他标签 没有全关闭的问题
This commit is contained in:
parent
e4dc74833e
commit
2db9b2084d
|
|
@ -172,7 +172,7 @@
|
||||||
//TAB 关闭其他
|
//TAB 关闭其他
|
||||||
closeOtherTabs(){
|
closeOtherTabs(){
|
||||||
var nowTag = this.contextMenuItem;
|
var nowTag = this.contextMenuItem;
|
||||||
var tags = this.tagList;
|
var tags = [...this.tagList];
|
||||||
tags.forEach(tag => {
|
tags.forEach(tag => {
|
||||||
if(tag.meta&&tag.meta.affix || nowTag.path==tag.path){
|
if(tag.meta&&tag.meta.affix || nowTag.path==tag.path){
|
||||||
return true
|
return true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue