shaogen1995 1 天之前
父節點
當前提交
f8abd3cce4
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/Z3upFilesRef/index.tsx

+ 3 - 1
src/components/Z3upFilesRef/index.tsx

@@ -257,7 +257,9 @@ function Z3upFilesRef(
         fd.append('isCompress', 'true')
         fd.append('isCompress', 'true')
         fd.append('isDb', 'true')
         fd.append('isDb', 'true')
         if (moduleId) {
         if (moduleId) {
-          fd.append('moduleId', moduleId + '')
+          // 后端要求,这个模块不要传moduleId
+          if (!['cms/order/register/son/upload'].includes(myUrl))
+            fd.append('moduleId', moduleId + '')
         }
         }
 
 
         fd.append('file', file)
         fd.append('file', file)