mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 11:35:58 +08:00
perf(tree): strengthen BasicTree function
This commit is contained in:
@@ -6,7 +6,10 @@ const menu: MenuModule = {
|
||||
menu: {
|
||||
name: t('routes.demo.comp.comp'),
|
||||
path: '/comp',
|
||||
|
||||
tag: {
|
||||
dot: true,
|
||||
type: 'warn',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'basic',
|
||||
@@ -154,6 +157,10 @@ const menu: MenuModule = {
|
||||
{
|
||||
path: 'tree',
|
||||
name: t('routes.demo.comp.tree'),
|
||||
tag: {
|
||||
dot: true,
|
||||
type: 'warn',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'basic',
|
||||
@@ -162,6 +169,10 @@ const menu: MenuModule = {
|
||||
{
|
||||
path: 'editTree',
|
||||
name: t('routes.demo.comp.editTree'),
|
||||
tag: {
|
||||
dot: true,
|
||||
type: 'warn',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'actionTree',
|
||||
@@ -172,9 +183,6 @@ const menu: MenuModule = {
|
||||
{
|
||||
name: t('routes.demo.editor.editor'),
|
||||
path: 'editor',
|
||||
tag: {
|
||||
content: 'new',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'markdown',
|
||||
|
@@ -22,21 +22,21 @@ const menu: MenuModule = {
|
||||
path: 'role',
|
||||
name: t('routes.demo.system.role'),
|
||||
tag: {
|
||||
content: 'new',
|
||||
dot: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'menu',
|
||||
name: t('routes.demo.system.menu'),
|
||||
tag: {
|
||||
content: 'new',
|
||||
dot: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'dept',
|
||||
name: t('routes.demo.system.dept'),
|
||||
tag: {
|
||||
content: 'new',
|
||||
dot: true,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -44,7 +44,7 @@ const menu: MenuModule = {
|
||||
path: 'changePassword',
|
||||
name: t('routes.demo.system.password'),
|
||||
tag: {
|
||||
content: 'new',
|
||||
dot: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user