perf(tree): strengthen BasicTree function

This commit is contained in:
Vben
2021-03-03 23:35:30 +08:00
parent 9a1ba74920
commit cd8e924d46
20 changed files with 394 additions and 138 deletions

View File

@@ -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',

View File

@@ -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,
},
},
],