Skip to content

Commit c8b4aa0

Browse files
author
hanjiyun
committed
fix README
1 parent 25969dd commit c8b4aa0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ options:{
314314
fileFieldName(file){ return file.name },
315315
withCredentials: false,
316316
requestHeaders: {'User-Agent': 'So Aanyip'},
317-
beforeChoose : function()[
317+
beforeChoose : function(){
318318
return user.isAllowUpload
319319
},
320320
chooseFile : function(files){
@@ -762,7 +762,7 @@ options:{
762762
fileFieldName(file){ return file.name },
763763
withCredentials: false,
764764
requestHeaders: {'User-Agent': 'So Aanyip'},
765-
beforeChoose : function()[
765+
beforeChoose : function(){
766766
return user.isAllowUpload
767767
},
768768
chooseFile : function(files){

0 commit comments

Comments
 (0)