From 79863ca588893739f7b2ab0c3ff72c0d08757414 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 18 七月 2023 12:35:56 +0800 Subject: [PATCH] 修改样式,菜单管理增加是否缓存 --- Source/UBCS-WEB/src/components/Tree/classifyTrees.vue | 15 ++++++++++++--- Source/UBCS-WEB/src/views/system/menu.vue | 16 ++++++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue index 0b9b8df..1a2d201 100644 --- a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue +++ b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue @@ -3,7 +3,7 @@ <el-container> <!-- 宸︿晶鑿滃崟--> <el-aside > - <basic-container style="height: 85vh; max-height: 155vh; overflow-y: scroll;"> + <basic-container style="overflow:hidden;"> <div> <div> <div style="display: flex; flex-direction: column;"> @@ -62,7 +62,7 @@ </el-dialog> <avue-tree ref="tree" v-model="CloneTreeAvueform" v-loading="loading" :data="CloneTreedata" :defaultExpandAll="false" :option="Treeoption" - style="height: 80.5vh;padding-top: 5px;padding-bottom: 30px" + style="height: calc(100vh - 230px);" @node-click="nodeClick" class="classifyTree" > @@ -71,7 +71,7 @@ </basic-container> </el-aside> <el-main> - <basic-container style="height: 85vh; max-height: 155vh; "> + <basic-container style="height: calc(100vh - 150px);"> <!-- 鍙充晶琛ㄦ牸--> <avue-tabs :option="tabOption" @change="handleChange"></avue-tabs> <span v-if="type.prop==='tab1'"> @@ -1393,6 +1393,15 @@ </script> <style lang="scss" scoped> +.el-container{ + height: 100%; +} +.el-aside { + height: calc(100% - 30px); +} +.el-main { + height: calc(100% - 30px); +} .el-form { display: flex; flex-wrap: wrap; /* 璁剧疆鍙崲琛岋紝浠ヤ究鍦ㄥ皬灞忓箷璁惧涓婁娇鐢ㄥ琛屽竷灞� */ diff --git a/Source/UBCS-WEB/src/views/system/menu.vue b/Source/UBCS-WEB/src/views/system/menu.vue index d31fcc6..30e004c 100644 --- a/Source/UBCS-WEB/src/views/system/menu.vue +++ b/Source/UBCS-WEB/src/views/system/menu.vue @@ -226,6 +226,22 @@ ] }, { + label: "璺敱缂撳瓨", + prop: "keepAlive", + type: "switch", + dicData: [ + { + label: "鍚�", + value: false + }, + { + label: "鏄�", + value: true + } + ], + hide: true + }, + { label: "鑿滃崟澶囨敞", prop: "remark", type: "textarea", -- Gitblit v1.9.3