调整角色管理页面接口

This commit is contained in:
2025-02-24 13:23:40 +08:00
parent 220332c0e5
commit d401bf442d
3 changed files with 3 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ function returnMenu(menu) {
}
// 获取所有的菜单
async function getMenuPermOptions() {
let arr = await MenuAPI.getList();
let arr = await MenuAPI.getRoutes();
menuPermOptions.value = returnMenu(arr);
}
getMenuPermOptions();

View File

@@ -383,7 +383,7 @@ function returnMenu(menu) {
// 获取所有的菜单
async function getMenuPermOptions() {
let arr = await MenuAPI.getList({});
let arr = await MenuAPI.getRoutes();
menuPermOptions.value = returnMenu(arr);
}
getMenuPermOptions();