Browse Source

refactor: 取消计量附件前端附件上传权限设置

lanjianrong 4 năm trước cách đây
mục cha
commit
9832d73e9f
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      app/public/js/stage.js

+ 3 - 3
app/public/js/stage.js

@@ -3216,9 +3216,9 @@ $(document).ready(() => {
     });
     // 上传附件
     $('#upload-file-btn').click(function () {
-        if (curAuditor && curAuditor.aid !== cur_uid) {
-            return toastr.error('当前操作没有权限!');
-        }
+        // if (curAuditor && curAuditor.aid !== cur_uid) {
+        //     return toastr.error('当前操作没有权限!');
+        // }
         const files = $('#upload-file')[0].files;
         const node = SpreadJsObj.getSelectObject(slSpread.getActiveSheet());
         const formData = new FormData();