瀏覽代碼

修复多次上传bug

ellisran 1 月之前
父節點
當前提交
4b8aa5c254
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/public/js/material_checklist.js

+ 1 - 1
app/public/js/material_checklist.js

@@ -1287,8 +1287,8 @@ $(document).ready(() => {
 
         // 以二进制方式打开文件
         fileReader.readAsBinaryString(importFile);
-        $('#upload-list-file').val('');
         $('#upload-file-name').text('');
+        $('.upload-list-file').val('');
         importFile = null;
     });