fix: 🧩 修复测试bug

This commit is contained in:
2025-03-31 17:01:27 +08:00
parent aeaf68307f
commit 716b383a87
23 changed files with 222 additions and 52 deletions

View File

@@ -56,7 +56,7 @@ import { ElNotification, formContextKey, formItemContextKey } from "element-plus
import type { UploadProps, UploadRequestOptions } from "element-plus";
interface UploadFileProps {
imageUrl: string; // 图片地址 ==> 必传
imageUrl: any; // 图片地址 ==> 必传
api?: (params: any) => Promise<any>; // 上传图片的 api 方法,一般项目上传都是同一个 api 方法,在组件里直接引入即可 ==> 非必传
drag?: boolean; // 是否支持拖拽上传 ==> 非必传(默认为 true
disabled?: boolean; // 是否禁用上传组件 ==> 非必传(默认为 false