项管首页

This commit is contained in:
wkc
2026-01-30 11:01:13 +08:00
parent ac4e02e8c5
commit e99b05acc2
17 changed files with 2106 additions and 329 deletions

View File

@@ -161,6 +161,10 @@ export default {
}
},
closeSelectedTag(view) {
// 如果只有一个标签且该标签不是固定标签,则不允许关闭
if (this.visitedViews.length === 1 && !this.isAffix(view)) {
return
}
this.$tab.closePage(view).then(({ visitedViews }) => {
if (this.isActive(view)) {
this.toLastView(visitedViews, view)