This commit is contained in:
parent
6b0b5dd84e
commit
7bcdc963b9
|
|
@ -335,7 +335,7 @@ function closeRight() {
|
||||||
if (nowTag.fullPath === tag.fullPath) {
|
if (nowTag.fullPath === tag.fullPath) {
|
||||||
flag = true
|
flag = true
|
||||||
}
|
}
|
||||||
if ((tag.meta && tag.meta.affix) || !flag) {
|
if ((tag.meta && tag.meta.affix) || !flag || nowTag.fullPath === tag.fullPath) {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
closeSelectedTag(tag, false)
|
closeSelectedTag(tag, false)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue