|
@@ -65,6 +65,7 @@ export default {
|
|
|
if (!this.tabsList.includes(this.activeKey)) {
|
|
|
this.selectedLastPath()
|
|
|
}
|
|
|
+ this.$store.state.app.isCloseTab = true
|
|
|
},
|
|
|
selectedLastPath () {
|
|
|
this.activeKey = this.tabsList[this.tabsList.length - 1]
|
|
@@ -220,6 +221,7 @@ export default {
|
|
|
}
|
|
|
this.activeKey = newVal.name
|
|
|
}
|
|
|
+ this.$store.state.app.isCloseTab = false
|
|
|
},
|
|
|
activeKey: function (newPathKey) {
|
|
|
const pages = this.pages.find(item => item.name == newPathKey)
|