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('isDb', 'true')
         if (moduleId) {
-          fd.append('moduleId', moduleId + '')
+          // 后端要求,这个模块不要传moduleId
+          if (!['cms/order/register/son/upload'].includes(myUrl))
+            fd.append('moduleId', moduleId + '')
         }
 
         fd.append('file', file)