refactor: Modal/Drawer中使用VxeTable tooltip需要设置更高的z-index 防止被遮挡

master
dap 6 months ago
parent 190c8c586e
commit 894f0c590a

@ -1,3 +1,9 @@
# 1.4.2
**REFACTOR**
- Modal/Drawer中使用VxeTable tooltip需要设置更高的z-index 防止被遮挡
# 1.4.1
**FEATURES**

@ -1,6 +1,6 @@
{
"name": "@vben/web-antd",
"version": "1.4.1",
"version": "1.4.2",
"homepage": "https://vben.pro",
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
"repository": {

@ -123,3 +123,9 @@ html[data-vxe-ui-theme='dark'] .vxe-grid {
.vxe-grid--layout-body-content-wrapper {
overflow: hidden;
}
/* modal/drawer中使用 tooltip需要设置更高的z-index 防止被遮挡 */
body:has(div[data-dismissable-layer]) .vxe-tooltip--wrapper {
/* tooltip直接在style中设置 需要!important来实现优先级覆盖 */
z-index: calc(var(--popup-z-index) + 1) !important;
}

Loading…
Cancel
Save