style(接口测试): 修改推荐断言的样式层级

This commit is contained in:
wxg0103 2023-11-22 10:35:34 +08:00 committed by wxg0103
parent 66d96d2acc
commit 98e345db30
3 changed files with 9 additions and 1 deletions

View File

@ -6,6 +6,7 @@
@close="close"
direction="right"
v-clickoutside="close"
:custom-z-index="9999"
appendToBody>
<template v-slot:header>
<ms-instructions-icon :content="tip" />

View File

@ -91,6 +91,12 @@ export default {
return true;
},
},
customZIndex: {
type: Number,
default() {
return 999;
},
},
},
mounted() {
this.init();
@ -231,7 +237,7 @@ export default {
0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12);
box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2),
0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12);
z-index: 999 !important;
z-index: v-bind(customZIndex) !important;
position: fixed;
overflow: auto;
}

View File

@ -6,6 +6,7 @@
@close="close"
direction="right"
v-clickoutside="close"
:custom-z-index="9999"
>
<template v-slot:header>
<ms-instructions-icon :content="tip" />