mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 02:08:10 +08:00
9 lines
232 B
TypeScript
9 lines
232 B
TypeScript
import request from '@/config/axios'
|
|
|
|
// 获取权限路由
|
|
export const getRoleRouters = async (): Promise<Array<AppCustomRouteRecordRaw>> => {
|
|
return request.get({ url: '/menu/query' }).then(res => {
|
|
return res?.data
|
|
})
|
|
}
|