原型设计系统

This commit is contained in:
junge
2026-02-02 17:40:51 +08:00
commit b553d9aab7
22 changed files with 5554 additions and 0 deletions

20
mock/index.ts Normal file
View File

@@ -0,0 +1,20 @@
import { MockMethod } from 'vite-plugin-mock'
export default [
{
url: '/api/stats',
method: 'get',
response: () => {
return {
code: 0,
message: 'ok',
data: [
{ label: 'Total Users', value: '1,234' },
{ label: 'Active Projects', value: '56' },
{ label: 'Design Assets', value: '892' },
{ label: 'Pending Reviews', value: '12' }
],
}
},
},
] as MockMethod[]