提交 39f9f408 编写于 作者: D DCloud_LXH

fix(h5): fix chooseFile protocols

上级 636bf9e8
......@@ -15,7 +15,7 @@ const CHOOSE_MEDIA_TYPE: API_TYPE_CHOOSE_FILE_OPTIONS['type'][] = [
export const ChooseFileOptions: ApiOptions<API_TYPE_CHOOSE_FILE> = {
formatArgs: {
count(count, params) {
if (count! <= 0) {
if (!count || count <= 0) {
params.count = 100
}
},
......
......@@ -10,6 +10,7 @@ export * from './file/getFileInfo'
export * from './file/openDocument'
export * from './media/getImageInfo'
export * from './media/chooseFile'
export * from './network/request'
export * from './network/downloadFile'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册