Skip to content

Commit

Permalink
fix: some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Oct 5, 2021
1 parent 37a9679 commit 13749c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/layout/components/setting/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function setTheme(layout: string, theme: string, dom: HTMLElement) {
<el-tooltip
class="item"
effect="dark"
content="暗色主题"
content="左侧菜单暗色模式"
placement="bottom"
>
<li
Expand All @@ -157,7 +157,7 @@ function setTheme(layout: string, theme: string, dom: HTMLElement) {
<el-tooltip
class="item"
effect="dark"
content="亮色主题"
content="左侧菜单亮色模式"
placement="bottom"
>
<li
Expand All @@ -173,7 +173,7 @@ function setTheme(layout: string, theme: string, dom: HTMLElement) {
<el-tooltip
class="item"
effect="dark"
content="暗色主题"
content="顶部菜单暗色模式"
placement="bottom"
>
<li
Expand All @@ -189,7 +189,7 @@ function setTheme(layout: string, theme: string, dom: HTMLElement) {
<el-tooltip
class="item"
effect="dark"
content="暗色主题"
content="顶部菜单亮色模式"
placement="bottom"
>
<li
Expand Down
4 changes: 3 additions & 1 deletion src/layout/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ onBeforeMount(() => {
v-show="!containerHiddenSideBar && layout.includes('vertical')"
/>
<!-- tabs标签页 -->
<Horizontal v-show="layout.includes('horizontal')" />
<Horizontal
v-show="!containerHiddenSideBar && layout.includes('horizontal')"
/>
<tag>
<span @click="onFullScreen">
<fullScreen v-if="!containerHiddenSideBar" />
Expand Down
8 changes: 4 additions & 4 deletions src/style/element-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
z-index: -1;
}

// el-tooltip,的权重
// .is-dark {
// z-index: 99999 !important;
// }
// el-tooltip的权重
.is-dark {
z-index: 99999 !important;
}

0 comments on commit 13749c7

Please sign in to comment.