Explorar el Código

菜单添加优化

evoxwht hace 2 años
padre
commit
4a50df36d4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      crmeb/app/adminapi/controller/v1/setting/SystemMenus.php

+ 1 - 1
crmeb/app/adminapi/controller/v1/setting/SystemMenus.php

@@ -111,7 +111,7 @@ class SystemMenus extends AuthController
             ['is_show', 0],
             ['is_show_path', 0],
         ]);
-
+        $data['is_show_path'] = $data['is_show'];
         if (!$data['menu_name'])
             return app('json')->fail(400198);
         $data['path'] = implode('/', $data['path']);