|
@@ -158,7 +158,7 @@ export default {
|
|
|
if (oldVal && oldVal.name && newVal.query.closeLastOldTab) {
|
|
|
if (oldVal.name.indexOf('List') == -1) { // 要关闭的页面不能是列表页
|
|
|
this.remove(oldVal.name) // 关闭子页面
|
|
|
- this.$store.state.app.isNewTab = true
|
|
|
+ this.$store.state.app.isNewTab = !(oldVal.meta.title.indexOf('详情') >= 0)
|
|
|
}
|
|
|
}
|
|
|
this.activeKey = newVal.name
|