add support for importing docx file

This commit is contained in:
Augists
2022-02-11 11:10:58 +08:00
parent 50888fb134
commit a877083e96
4 changed files with 606 additions and 6 deletions

View File

@@ -465,7 +465,7 @@
'required': true,
'validateInitialCount': true,
"language" : "{{i18n $.Lang "common.upload_lang"}}",
'allowedFileExtensions': ['zip'],
'allowedFileExtensions': ['zip', 'docx'],
'msgPlaceholder' : '{{i18n $.Lang "message.file_type_placeholder"}}',
'elErrorContainer' : "#import-book-form-error-message",
'uploadExtraData' : function () {