feat: element-plus app (#32)
* chore: init project * chore: install element-plus * chore: locale config * fix: eslint error * chore: merge from main * fix: lint * chore: finish todo * chore: update comments * chore: update * fix: lint error * chore: add unplugin-element-plus * chore: add useElementPlusDesignTokens * chore: configure some color
This commit is contained in:
1
apps/web-ele/src/api/demos/index.ts
Normal file
1
apps/web-ele/src/api/demos/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './status';
|
10
apps/web-ele/src/api/demos/status.ts
Normal file
10
apps/web-ele/src/api/demos/status.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 模拟任意状态码
|
||||
*/
|
||||
async function getMockStatus(status: string) {
|
||||
return requestClient.get('/status', { params: { status } });
|
||||
}
|
||||
|
||||
export { getMockStatus };
|
Reference in New Issue
Block a user