You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
283 B
12 lines
283 B
2 months ago
|
import request from '@/utils/request';
|
||
|
import { AxiosPromise } from 'axios';
|
||
|
import { RouteRecordRaw } from 'vue-router';
|
||
|
|
||
|
// 获取路由
|
||
|
export function getRouters(): AxiosPromise<RouteRecordRaw[]> {
|
||
|
return request({
|
||
|
url: '/system/menu/getRouters',
|
||
|
method: 'get'
|
||
|
});
|
||
|
}
|