You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
303 B

export * from './interface';
export function chooseFile(options: UniApp.ChooseMessageFileOption){
// #ifdef WEB
uni.chooseFile(options)
// #endif
// #ifdef MP-WEIXIN
uni.chooseMessageFile(options)
// #endif
// #ifndef WEB || MP-WEIXIN
console.error('chooseFile 不支持该平台')
// #endif
}