Prechádzať zdrojové kódy

代码生成生成的菜单默认显示

evoxwht 2 rokov pred
rodič
commit
5a86f0a369

+ 1 - 0
crmeb/app/services/system/SystemCrudServices.php

@@ -560,6 +560,7 @@ class SystemCrudServices extends BaseServices
             'menu_path' => '/' . $routeName,
             'menu_path' => '/' . $routeName,
             'auth_type' => 1,
             'auth_type' => 1,
             'is_show' => 1,
             'is_show' => 1,
+            'is_show_path' => 1,
             'is_del' => 0,
             'is_del' => 0,
             'unique_auth' => $uniqueAuth,
             'unique_auth' => $uniqueAuth,
             'is_header' => $data['pid'] ? 0 : 1,
             'is_header' => $data['pid'] ? 0 : 1,