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.
11 lines
283 B
11 lines
283 B
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'
|
|
});
|
|
}
|
|
|