Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: drawer console warning #4871

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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