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)