Browse Source

feat(组件): 修改bug

tangning 2 years ago
parent
commit
ff074f1b55
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/api/product/index.ts

+ 2 - 2
src/api/product/index.ts

@@ -195,7 +195,7 @@ export function uploadApi(
   return defHttp.uploadFile<Result>(
     {
       url: Api.upload,
-      // onUploadProgress,
+      onUploadProgress,
     },
     params,
   );
@@ -208,7 +208,7 @@ export function AppFileUpload(
   return defHttp.uploadFile<Result>(
     {
       url: Api.appFileUpload,
-      // onUploadProgress,
+      onUploadProgress,
     },
     params,
   );