Files
MrleeAdmin/backend/plugin/article/resource/menu/admin.php
T

51 lines
1.6 KiB
PHP
Raw Normal View History

2026-08-31 13:16:46 +08:00
<?php
/**
* 后台菜单配置
* 安装时会自动加载
*/
return [
[
'name' => '文章管理',
'code' => 'article',
'app' => 'article',
'path' => '/article',
'icon' => 'ant-design:read-outlined',
2026-08-31 13:16:46 +08:00
'children' => [
[
'name' => '内容中心',
'code' => 'article:index',
'app' => 'article',
'path' => '/article/index',
'component' => '/article/content/index',
'icon' => 'ant-design:file-text-outlined',
2026-08-31 13:16:46 +08:00
],
[
'name' => '内容分类',
'code' => 'article:category:index',
'app' => 'article',
'path' => '/article/category',
'component' => '/article/category/index',
'icon' => 'ant-design:folder-open-outlined',
2026-08-31 13:16:46 +08:00
],
[
'name' => '标签管理',
'code' => 'article:tag:index',
'app' => 'article',
'path' => '/article/tag',
'component' => '/article/tag/index',
'icon' => 'ant-design:tags-outlined',
2026-08-31 13:16:46 +08:00
],
[
'name' => '内容回收站',
'code' => 'article:recycle:index',
'app' => 'article',
'path' => '/article/recycle',
'component' => '/article/recycle/index',
'icon' => 'ant-design:delete-outlined',
2026-08-31 13:16:46 +08:00
],
],
],
];