mirror of
https://gitcode.com/gh_mirrors/vue/vue-vben-admin
synced 2025-12-30 05:12:24 +00:00
chore: remove useless code
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer';
|
||||
|
||||
// @ts-ignore
|
||||
const modules = import.meta.globEager('./**/*.ts');
|
||||
|
||||
const mockModules: any[] = [];
|
||||
|
||||
@@ -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',
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user