mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
智慧宿舍系统小程序
This commit is contained in:
31
wechat/miniprogram/node_modules/@vant/weapp/dist/uploader/utils.d.ts
generated
vendored
Normal file
31
wechat/miniprogram/node_modules/@vant/weapp/dist/uploader/utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
export interface File {
|
||||
url: string;
|
||||
size?: number;
|
||||
name?: string;
|
||||
type: string;
|
||||
duration?: number;
|
||||
time?: number;
|
||||
isImage?: boolean;
|
||||
isVideo?: boolean;
|
||||
}
|
||||
export declare function isImageFile(item: File): boolean;
|
||||
export declare function isVideoFile(item: File): boolean;
|
||||
export declare function chooseFile({
|
||||
accept,
|
||||
multiple,
|
||||
capture,
|
||||
compressed,
|
||||
maxDuration,
|
||||
sizeType,
|
||||
camera,
|
||||
maxCount,
|
||||
}: {
|
||||
accept: any;
|
||||
multiple: any;
|
||||
capture: any;
|
||||
compressed: any;
|
||||
maxDuration: any;
|
||||
sizeType: any;
|
||||
camera: any;
|
||||
maxCount: any;
|
||||
}): Promise<File | File[]>;
|
||||
Reference in New Issue
Block a user