fix: update version to 4.2.0 and improve import handling in user actions

This commit is contained in:
Ray.Hao committed 2026-03-07 19:35:24 +08:00
1 parent ff6f68c0ce
commit d6804fc4e0
5 files changed
+28 -13

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ const contentConfig: IContentConfig<UserQueryParams, UserItem> = reactive({
},
deleteAction: UserAPI.deleteByIds,
importAction(file: File) {
return UserAPI.import("1", file);
return UserAPI.import(file);
},
exportAction: UserAPI.export,
importTemplate: UserAPI.downloadTemplate,
+1 -1
View File
@@ -20,7 +20,7 @@ const contentConfig: IContentConfig<UserQueryParams, UserItem> = {
},
deleteAction: UserAPI.deleteByIds,
importAction(file) {
return UserAPI.import("1", file);
return UserAPI.import(file);
},
exportAction: UserAPI.export,
importTemplate: UserAPI.downloadTemplate,