安装插件后的基础文件
This commit is contained in:
16
plugin/demo/data/menu.php
Normal file
16
plugin/demo/data/menu.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
return [
|
||||
[
|
||||
'title' => '测试插件',
|
||||
'router' => '/demo/Index/index',
|
||||
'icon' => 'layui-icon-app',
|
||||
'auth' => '1', // 是否鉴权
|
||||
'children' => [
|
||||
['router' => '/demo/Index/index', 'title' => '查看'],
|
||||
['router' => '/demo/Index/add', 'title' => '添加'],
|
||||
['router' => '/demo/Indexx/edit', 'title' => '编辑'],
|
||||
['router' => '/demo/Index/execute', 'title' => '运行'],
|
||||
['router' => '/demo/Indexx/del', 'title' => '删除']
|
||||
]
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user