From af15a3b2746e8b6da90debf7bc72efd34befeb78 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期日, 23 四月 2023 14:53:11 +0800 Subject: [PATCH] !704 Vue的DictTag组件,当value没有匹配的值时,展示value Merge pull request !704 from Aurora/master --- ruoyi-ui/src/layout/index.vue | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/layout/index.vue b/ruoyi-ui/src/layout/index.vue index ab2be3c..b7c9ab0 100644 --- a/ruoyi-ui/src/layout/index.vue +++ b/ruoyi-ui/src/layout/index.vue @@ -1,19 +1,19 @@ <template> <div :class="classObj" class="app-wrapper" :style="{'--current-color': theme}"> - <el-scrollbar> <div v-if="device==='mobile'&&sidebar.opened" class="drawer-bg" @click="handleClickOutside"/> <sidebar v-if="!sidebar.hide" class="sidebar-container"/> <div :class="{hasTagsView:needTagsView,sidebarHide:sidebar.hide}" class="main-container"> - <div :class="{'fixed-header':fixedHeader}"> - <navbar/> - <tags-view v-if="needTagsView"/> - </div> - <app-main/> - <right-panel> - <settings/> - </right-panel> + <el-scrollbar> + <div :class="{'fixed-header':fixedHeader}"> + <navbar/> + <tags-view v-if="needTagsView"/> + </div> + <app-main/> + <right-panel> + <settings/> + </right-panel> + </el-scrollbar> </div> - </el-scrollbar> </div> </template> @@ -78,6 +78,10 @@ height: 100%; } + ::v-deep .el-scrollbar__bar.is-vertical { + z-index: 10; + } + ::v-deep .el-scrollbar__wrap { overflow-x: hidden; } -- Gitblit v1.9.2