refactor: 项目重构

This commit is contained in:
Ray.Hao
2025-05-24 07:35:46 +08:00
parent cfe041d7d2
commit 32686ad807
51 changed files with 1201 additions and 696 deletions

View File

@@ -21,7 +21,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
list: res.list,
};
},
indexAction: function (params) {
indexAction (params) {
return UserAPI.getPage(params);
},
deleteAction: UserAPI.deleteByIds,
@@ -35,7 +35,7 @@ const contentConfig: IContentConfig<UserPageQuery> = {
console.log("importsAction", data);
return Promise.resolve();
},
exportsAction: async function (params) {
async exportsAction (params) {
// 模拟获取到的是全量数据
const res = await UserAPI.getPage(params);
console.log("exportsAction", res.list);