|
@@ -36,7 +36,6 @@ export default {
|
|
} catch (e) {
|
|
} catch (e) {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- console.log('rename')
|
|
|
|
if (this.pages.length <= this.maxTabNums) {
|
|
if (this.pages.length <= this.maxTabNums) {
|
|
this.pages.push(this.$route)
|
|
this.pages.push(this.$route)
|
|
this.tabsList.push(this.$route.name)
|
|
this.tabsList.push(this.$route.name)
|
|
@@ -223,7 +222,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
activeKey: function (newPathKey) {
|
|
activeKey: function (newPathKey) {
|
|
- console.log('-----' + newPathKey)
|
|
|
|
const pages = this.pages.find(item => item.name == newPathKey)
|
|
const pages = this.pages.find(item => item.name == newPathKey)
|
|
this.$router.push({ name: newPathKey, params: pages.params, query: pages.query })
|
|
this.$router.push({ name: newPathKey, params: pages.params, query: pages.query })
|
|
}
|
|
}
|