forked from github/dataease
fix: 一级菜单禁用keep-alive缓存组件
This commit is contained in:
parent
2946017dd5
commit
e8fa566549
@ -2,9 +2,9 @@
|
||||
<section class="app-main">
|
||||
<transition name="fade-transform" mode="out-in">
|
||||
<el-main class="ms-main-container">
|
||||
<keep-alive>
|
||||
<router-view :key="key" />
|
||||
</keep-alive>
|
||||
<!-- <keep-alive> -->
|
||||
<router-view :key="key" />
|
||||
<!-- </keep-alive> -->
|
||||
</el-main>
|
||||
</transition>
|
||||
</section>
|
||||
|
@ -154,7 +154,7 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
activated() {
|
||||
mounted() {
|
||||
this.search()
|
||||
},
|
||||
methods: {
|
||||
@ -199,7 +199,7 @@ export default {
|
||||
this.$success(this.$t('commons.save_success'))
|
||||
this.search()
|
||||
this.dialogVisible = false
|
||||
});
|
||||
})
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ export default {
|
||||
isLazy: true
|
||||
}
|
||||
},
|
||||
activated() {
|
||||
mounted() {
|
||||
this.form = Object.assign({}, this.defaultForm)
|
||||
this.search()
|
||||
},
|
||||
|
@ -195,7 +195,7 @@ export default {
|
||||
|
||||
}
|
||||
},
|
||||
activated() {
|
||||
mounted() {
|
||||
this.form = Object.assign({}, this.defaultForm)
|
||||
this.initTableData()
|
||||
},
|
||||
|
@ -146,7 +146,7 @@ export default {
|
||||
watch: {
|
||||
currentRow: 'currentRowChange'
|
||||
},
|
||||
activated() {
|
||||
mounted() {
|
||||
this.search()
|
||||
},
|
||||
methods: {
|
||||
|
@ -285,7 +285,7 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
activated() {
|
||||
mounted() {
|
||||
// this.form = Object.assign({}, this.defaultForm);
|
||||
this.allRoles()
|
||||
this.search()
|
||||
|
Loading…
Reference in New Issue
Block a user