fix: update version to 4.2.0 and improve import handling in user actions
This commit is contained in:
1 parent
ff6f68c0ce
commit
d6804fc4e0
5 files changed
+28
-13
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user