提交 e8fa5665 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 一级菜单禁用keep-alive缓存组件

上级 2946017d
......@@ -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()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论