Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
fix: #308 (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby authored Mar 11, 2021
1 parent efcef1e commit fa5b50a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Upload/FilePondUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
labelTapToCancel="点击取消"
labelTapToRetry="点击重试"
labelFileTypeNotAllowed="不支持当前文件格式"
fileValidateTypeLabelExpectedTypes="请选择 {allTypes} 格式的文件"
fileValidateTypeLabelExpectedTypes="请选择 {lastType} 格式的文件"
:files="fileList"
:server="server"
@init="handleFilePondInit"
Expand Down
4 changes: 2 additions & 2 deletions src/views/interface/ThemeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<FilePondUpload
ref="upload"
name="file"
:accepts="['application/zip']"
:accepts="['application/x-zip', 'application/x-zip-compressed', 'application/zip']"
label="点击选择主题包或将主题包拖拽到此处<br>仅支持 ZIP 格式的文件"
:uploadHandler="installModal.local.uploadHandler"
@success="handleUploadSucceed"
Expand Down Expand Up @@ -122,7 +122,7 @@
<FilePondUpload
ref="updateByupload"
name="file"
:accepts="['application/zip']"
:accepts="['application/x-zip', 'application/x-zip-compressed', 'application/zip']"
label="点击选择主题更新包或将主题更新包拖拽到此处<br>仅支持 ZIP 格式的文件"
:uploadHandler="localUpdateModel.uploadHandler"
:filed="localUpdateModel.selected.id"
Expand Down

0 comments on commit fa5b50a

Please sign in to comment.