diff --git a/app/admin/controller/Menu.php b/app/admin/controller/Menu.php index 7171db8e1..df64e0c7c 100644 --- a/app/admin/controller/Menu.php +++ b/app/admin/controller/Menu.php @@ -121,6 +121,17 @@ class Menu extends Controller } } + /** + * 菜单编辑成功后刷新页面 + * @param bool $state + */ + protected function _form_result(bool $state) + { + if ($state) { + $this->success('系统菜单修改成功!', 'javascript:location.reload()'); + } + } + /** * 修改菜单状态 * @auth true diff --git a/app/admin/view/login/index.html b/app/admin/view/login/index.html index 0d9191380..095a82ea9 100644 --- a/app/admin/view/login/index.html +++ b/app/admin/view/login/index.html @@ -26,7 +26,7 @@
  • -