From 0c966cb74acac1a1cc3bcaaa579019f1177d3e36 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期二, 20 九月 2022 15:42:26 +0800 Subject: [PATCH] 解决dialog数据不销毁 --- src/views/layout/components/Main/index.vue | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/views/layout/components/Main/index.vue b/src/views/layout/components/Main/index.vue index e7674a4..3de4d9c 100644 --- a/src/views/layout/components/Main/index.vue +++ b/src/views/layout/components/Main/index.vue @@ -1,15 +1,31 @@ <template> <el-main> - <router-view></router-view> + <!-- <NavBar /> --> + <div class="content"> + <router-view></router-view> + <!-- 搴曢儴鍖哄煙 --> + <!-- <MyFooter/> --> + </div> </el-main> </template> <script> -// import NavBar from "../NavBar" +import MyFooter from "../Footer" +import NavBar from "../NavBar" export default { name: "Main", - components:{ - // NavBar + components: { + MyFooter, + NavBar } }; -</script> \ No newline at end of file +</script> +<style lang="scss"> +.el-main { + min-width: 1024px; + padding: 0; + .content { + padding: 11px; + } +} +</style> -- Gitblit v1.8.0