Skip to content

Commit

Permalink
fix: drawer console warning (#4871)
Browse files Browse the repository at this point in the history
  • Loading branch information
vince292007 authored Nov 12, 2024
1 parent 1ff1e4a commit 67c2b13
Show file tree
Hide file tree
Showing 5 changed files with 987 additions and 558 deletions.
4 changes: 0 additions & 4 deletions packages/@core/base/shared/src/utils/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ export async function downloadFileFromImageUrl({

/**
* 通过 Blob 下载文件
* @param blob - 文件的 Blob 对象
* @param fileName - 可选,下载的文件名称
*/
export function downloadFileFromBlob({
fileName = DEFAULT_FILENAME,
Expand All @@ -81,8 +79,6 @@ export function downloadFileFromBlob({

/**
* 下载文件,支持 Blob、字符串和其他 BlobPart 类型
* @param data - 文件的 BlobPart 数据
* @param fileName - 下载的文件名称
*/
export function downloadFileFromBlobPart({
fileName = DEFAULT_FILENAME,
Expand Down
7 changes: 6 additions & 1 deletion packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,12 @@ function handleFocusOutside(e: Event) {
</SheetClose>
</div>
</SheetHeader>

<template v-else>
<VisuallyHidden>
<SheetTitle />
<SheetDescription />
</VisuallyHidden>
</template>
<div
ref="wrapperRef"
:class="
Expand Down
1 change: 0 additions & 1 deletion packages/effects/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"@vueuse/core": "catalog:",
"dayjs": "catalog:",
"echarts": "catalog:",
"vue": "catalog:",
"vxe-pc-ui": "catalog:",
Expand Down
Loading

0 comments on commit 67c2b13

Please sign in to comment.