修改mock请求地址

This commit is contained in:
Hooray Hu 2023-05-06 13:40:07 +08:00
parent 31bb047dac
commit 2ffc8fe59d

View File

@ -2,12 +2,12 @@ import api from '../index'
export default {
// 后端获取路由数据
routeList: () => api.get('mock/app/route/list', {
routeList: () => api.get('app/route/list', {
baseURL: '/mock/',
}),
// 基于文件系统路由模式下,后端获取导航菜单数据
menuList: () => api.get('mock/app/menu/list', {
menuList: () => api.get('app/menu/list', {
baseURL: '/mock/',
}),
}