diff --git a/CHANGELOG.md b/CHANGELOG.md index cb359556..1adad54e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 1.4.2 + +**REFACTOR** + +- Modal/Drawer中使用VxeTable tooltip需要设置更高的z-index 防止被遮挡 + # 1.4.1 **FEATURES** diff --git a/apps/web-antd/package.json b/apps/web-antd/package.json index e5e9941c..fa2ac67a 100644 --- a/apps/web-antd/package.json +++ b/apps/web-antd/package.json @@ -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": { diff --git a/packages/effects/plugins/src/vxe-table/style.css b/packages/effects/plugins/src/vxe-table/style.css index e1421f14..8e29fb0b 100644 --- a/packages/effects/plugins/src/vxe-table/style.css +++ b/packages/effects/plugins/src/vxe-table/style.css @@ -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; +}