Browse Source

fix(bugs): 上次文件

tangning 3 years ago
parent
commit
421511cb87
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/api/product/category.ts

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

@@ -70,12 +70,12 @@ export const attributeDeleteApi = (params: string) =>
 
 export function uploadBannerApi(
   params: UploadFileParams,
-  onUploadProgress: (progressEvent: ProgressEvent) => void,
+  // onUploadProgress: (progressEvent: ProgressEvent) => void,
 ) {
   return defHttp.uploadFile<Result>(
     {
       url: Api.uploadBanner,
-      onUploadProgress,
+      // onUploadProgress,
     },
     params,
   );