优化useDownloadBlob类型
parent
e387ca5d51
commit
83c2cd7910
|
|
@ -7,7 +7,7 @@ interface UseDownloadBlobOptions {
|
||||||
params?: Record<string, any>;
|
params?: Record<string, any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type DownloadBlobFunction = (url: string, options: UseDownloadBlobOptions) => Promise<any>;
|
export type DownloadBlobFunction = (url: string, options?: UseDownloadBlobOptions) => Promise<any>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 下载Blob流文件
|
* 下载Blob流文件
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue