Skip to content

Commit

Permalink
fix: 调整部分定位组件的z-index层级
Browse files Browse the repository at this point in the history
element plus 的 v-loading 遮罩层默认 z-index 为 2000
导致会遮挡住框架部分组件
  • Loading branch information
hooray committed Oct 13, 2022
1 parent d929117 commit 925ee00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layouts/components/Search/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function pageJump(url: string) {
<style lang="scss" scoped>
#search {
position: fixed;
z-index: 2000;
z-index: 4000;
top: 0;
left: 0;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/components/Topbar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function pathCompile(path: string) {
<style lang="scss" scoped>
.topbar-container {
position: absolute;
z-index: 999;
z-index: 3000;
top: 0;
display: flex;
align-items: center;
Expand Down

0 comments on commit 925ee00

Please sign in to comment.