chore: remove useless code

This commit is contained in:
Vben
2021-02-25 20:17:08 +08:00
parent 5ffac40935
commit 8a9ca498d7
34 changed files with 234 additions and 308 deletions

View File

@@ -1,5 +1,6 @@
import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer';
// @ts-ignore
const modules = import.meta.globEager('./**/*.ts');
const mockModules: any[] = [];

View File

@@ -18,13 +18,11 @@ export function resultPageSuccess<T = any>(
const pageData = pagination(page, pageSize, list);
return {
code: 0,
result: {
...resultSuccess({
items: pageData,
total: list.length,
},
}),
message,
type: 'success',
};
}