fix:system添加接口声明

This commit is contained in:
shijing 2024-12-16 11:31:42 +08:00
parent c43e670eb1
commit ba3ce6e30e
2 changed files with 11 additions and 1 deletions

View File

@ -252,7 +252,14 @@ export default {
req: async function( id){
return await http.post(`${config.API_URL}/system/user/${id}/reset_password/`);
}
}
},
routers: {
url: `${config.API_URL}/system/user/route/`,
name: "菜单列表",
req: async function(params){
return await http.get(this.url, params);
}
},
},
post: {
list: {

View File

@ -36,6 +36,9 @@ const DEFAULT_CONFIG = {
//请求是否开启缓存
REQUEST_CACHE: false,
//静态菜单static | 动态菜单dynamic
MENU_CATE:'dynamic',
//布局 默认default | 通栏header | 经典menu | 功能坞dock
//dock将关闭标签和面包屑栏
LAYOUT: 'header',