first commit

This commit is contained in:
2026-06-12 12:31:35 +08:00
commit 77e9f1df50
261 changed files with 24791 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
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
);
});