mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
修改代码生成时权限菜单没有删除问题
This commit is contained in:
parent
0840443190
commit
d1d78d8cbc
@ -581,8 +581,8 @@ class SystemCrudServices extends BaseServices
|
||||
$menuInfo = $meunService->save($dataMenu);
|
||||
}
|
||||
//删除掉添加的路由权限
|
||||
if ($crudInfo->routes_id) {
|
||||
$routeService->deleteRoutes($crudInfo->routes_id);
|
||||
if ($crudInfo->route_ids) {
|
||||
$routeService->deleteRoutes($crudInfo->route_ids);
|
||||
}
|
||||
//删除掉权限路由
|
||||
if ($crudInfo->menu_ids) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user