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