mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
fix(CRUD):修复数据表没有注释时不生成菜单规则的问题
This commit is contained in:
parent
84db936f5e
commit
83c518ee47
@ -1108,7 +1108,7 @@ class Crud extends Command
|
||||
Menu::create([
|
||||
[
|
||||
'type' => 'menu',
|
||||
'title' => $tableComment,
|
||||
'title' => $tableComment ?: $table,
|
||||
'name' => $originControllerUrl,
|
||||
'path' => $originControllerUrl,
|
||||
'menu_type' => 'tab',
|
||||
|
Loading…
Reference in New Issue
Block a user