|
@@ -138,8 +138,10 @@ export default {
|
|
|
if (index < 0) { // 不存在
|
|
|
this.tabsList.push(newVal.name)
|
|
|
this.pages.push(newVal)
|
|
|
+ this.$store.state.app.isNewTab = true
|
|
|
} else { // 已存在
|
|
|
this.pages.splice(index, 1, newVal)
|
|
|
+ this.$store.state.app.isNewTab = false
|
|
|
}
|
|
|
},
|
|
|
activeKey: function (newPathKey) {
|