new Files

This commit is contained in:
2025-04-29 19:11:52 +08:00
parent 1a86b9bfc1
commit fe6fc6576d
90 changed files with 11768 additions and 663 deletions

9
front/mock/base.ts Normal file
View File

@ -0,0 +1,9 @@
import path from "path";
import { createDefineMock } from "vite-plugin-mock-dev-server";
export const defineMock = createDefineMock((mock) => {
// 拼接url
mock.url = path.join(import.meta.env.VITE_APP_BASE_API + "/api/v1/", mock.url);
});