chore: update

This commit is contained in:
xiaoxian521
2024-04-10 18:30:08 +08:00
parent 309e31fcd9
commit 02b2568427
19 changed files with 391 additions and 340 deletions

21
mock/mine.ts Normal file
View File

@@ -0,0 +1,21 @@
import { defineFakeRoute } from "vite-plugin-fake-server/client";
export default defineFakeRoute([
{
url: "/mine",
method: "get",
response: () => {
return {
success: true,
data: {
avatar: "https://avatars.githubusercontent.com/u/44761321",
username: "admin",
nickname: "Coder",
email: "pureadmin@163.com",
phone: "15888886789",
description: "一个热爱开源的前端工程师"
}
};
}
}
]);