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.
13 lines
342 B
13 lines
342 B
|
7 months ago
|
import request from '@/utils/request';
|
||
|
|
import { AxiosPromise } from 'axios';
|
||
|
|
import { RouteRecordRaw } from 'vue-router';
|
||
|
|
|
||
|
|
// 获取路由
|
||
|
|
export function getRouters(systemCode?: string): AxiosPromise<RouteRecordRaw[]> {
|
||
|
|
return request({
|
||
|
|
url: '/system/menu/getRoutersBySystemCode',
|
||
|
|
method: 'get',
|
||
|
|
params: { systemCode }
|
||
|
|
});
|
||
|
|
}
|