更新插件的前台默认的显示页面,控制器的 bool变量名称更新后可以正常显示。
This commit is contained in:
47
plugin/partmanage/data/menu.php
Normal file
47
plugin/partmanage/data/menu.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
return [
|
||||
0 => [
|
||||
'title' => '部件管理',
|
||||
'router' => '/partmanage/Index',
|
||||
'icon' => 'fa-home',
|
||||
'auth' => 1,
|
||||
'type' => 0,
|
||||
'children' => [
|
||||
0 => [
|
||||
'title' => '查看',
|
||||
'router' => '/partmanage/Index/index',
|
||||
'icon' => NULL,
|
||||
'auth' => 1,
|
||||
'type' => 1,
|
||||
],
|
||||
1 => [
|
||||
'title' => '添加',
|
||||
'router' => '/partmanage/Index/add',
|
||||
'icon' => NULL,
|
||||
'auth' => 1,
|
||||
'type' => 1,
|
||||
],
|
||||
2 => [
|
||||
'title' => '编辑',
|
||||
'router' => '/partmanage/Index/edit',
|
||||
'icon' => NULL,
|
||||
'auth' => 1,
|
||||
'type' => 1,
|
||||
],
|
||||
3 => [
|
||||
'title' => '删除',
|
||||
'router' => '/partmanage/Index/del',
|
||||
'icon' => NULL,
|
||||
'auth' => 1,
|
||||
'type' => 1,
|
||||
],
|
||||
4 => [
|
||||
'title' => '状态',
|
||||
'router' => '/partmanage/Index/status',
|
||||
'icon' => NULL,
|
||||
'auth' => 1,
|
||||
'type' => 1,
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user