Logo
Explore Help
Register Sign In
xkyy/xk-admin
1
0
Fork 0
You've already forked xk-admin
Code Issues Pull Requests Actions 3 Packages Projects Releases Wiki Activity
Files
08391ad53ea23cd6766d9e22e161dc16fc79f258
xk-admin/apps/web-ele/src/api/core/menu.ts

11 lines
262 B
TypeScript
Raw Normal View History

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
2024-07-31 21:22:43 +08:00
import type { RouteRecordStringComponent } from '@vben/types';
import { requestClient } from '#/api/request';
/**
* 获取用户所有菜单
*/
feat: api suffix (#4065)
2024-08-07 13:42:33 +08:00
export async function getAllMenusApi() {
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
2024-07-31 21:22:43 +08:00
return requestClient.get<RouteRecordStringComponent[]>('/menu/all');
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 25.5.0 Page: 46ms Template: 2ms
English
English 简体中文 繁體中文(台灣) 繁體中文(香港)
Licenses API