yxh
2023-12-12 e21e9ad99c4c2a306d15cb270dc41520450ac9f2
src/api/system/menu.js
@@ -45,8 +45,8 @@
// 修改菜单
export function updateMenu(data) {
  return request({
    url: '/system/menu',
    method: 'put',
    url: '/system/menu/edit',
    method: 'post',
    data: data
  })
}
@@ -54,7 +54,7 @@
// 删除菜单
export function delMenu(menuId) {
  return request({
    url: '/system/menu/' + menuId,
    method: 'delete'
    url: '/system/menu/remove/' + menuId,
    method: 'get',
  })
}