From 5e44aa9283b11ca04c42e49376e09f1ee34da9ec Mon Sep 17 00:00:00 2001 From: Vben Date: Sat, 9 Nov 2024 20:00:09 +0800 Subject: [PATCH] fix: drawer header is missing (#4846) --- packages/@core/base/shared/package.json | 2 +- .../ui-kit/popup-ui/src/drawer/drawer-api.ts | 1 + .../ui-kit/popup-ui/src/drawer/drawer.vue | 6 - .../src/components/tabs-chrome/tabs.vue | 2 +- .../tabs-ui/src/components/tabs/tabs.vue | 4 +- packages/effects/layouts/package.json | 2 +- packages/effects/layouts/src/basic/layout.vue | 2 + packages/effects/layouts/src/index.ts | 2 - .../effects/plugins/src/vxe-table/theme.css | 7 +- packages/utils/package.json | 2 - pnpm-lock.yaml | 307 +++++++++++++++--- pnpm-workspace.yaml | 7 +- 12 files changed, 282 insertions(+), 62 deletions(-) diff --git a/packages/@core/base/shared/package.json b/packages/@core/base/shared/package.json index d83006ee55f..1685258b746 100644 --- a/packages/@core/base/shared/package.json +++ b/packages/@core/base/shared/package.json @@ -84,7 +84,7 @@ "@types/lodash.get": "catalog:", "@vue/shared": "catalog:", "clsx": "catalog:", - "dayjs": "^1.11.13", + "dayjs": "catalog:", "defu": "catalog:", "lodash.clonedeep": "catalog:", "lodash.get": "catalog:", diff --git a/packages/@core/ui-kit/popup-ui/src/drawer/drawer-api.ts b/packages/@core/ui-kit/popup-ui/src/drawer/drawer-api.ts index 15ce8a9ee85..64d8d40403e 100644 --- a/packages/@core/ui-kit/popup-ui/src/drawer/drawer-api.ts +++ b/packages/@core/ui-kit/popup-ui/src/drawer/drawer-api.ts @@ -36,6 +36,7 @@ export class DrawerApi { confirmLoading: false, contentClass: '', footer: true, + header: true, isOpen: false, loading: false, modal: true, diff --git a/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue b/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue index 35842758a3f..f6dc0ec9ec5 100644 --- a/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue +++ b/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue @@ -179,12 +179,6 @@ function handleFocusOutside(e: Event) { -
- +
{