feat(sj_1.0.0): 添加logo
This commit is contained in:
parent
6adbedd185
commit
e87ca02dc4
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 1.6 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 1.6 KiB |
@ -187,7 +187,7 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
meta: {
|
meta: {
|
||||||
title: 'home',
|
title: 'home',
|
||||||
i18nKey: 'route.home',
|
i18nKey: 'route.home',
|
||||||
icon: 'mdi:monitor-dashboard',
|
icon: 'material-symbols:dashboard-outline-rounded',
|
||||||
order: 1
|
order: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -199,7 +199,7 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
title: 'job',
|
title: 'job',
|
||||||
i18nKey: 'route.job',
|
i18nKey: 'route.job',
|
||||||
order: 50,
|
order: 50,
|
||||||
icon:'eos-icons:cronjob'
|
icon: 'eos-icons:cronjob'
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@ -208,7 +208,8 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
component: 'view.job_task',
|
component: 'view.job_task',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'job_task',
|
title: 'job_task',
|
||||||
i18nKey: 'route.job_task'
|
i18nKey: 'route.job_task',
|
||||||
|
icon: 'octicon:tasklist'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -360,7 +361,7 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
meta: {
|
meta: {
|
||||||
title: 'namespace',
|
title: 'namespace',
|
||||||
i18nKey: 'route.namespace',
|
i18nKey: 'route.namespace',
|
||||||
icon: 'oui:app-spaces',
|
icon: 'eos-icons:namespace',
|
||||||
order: 20
|
order: 20
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -381,7 +382,8 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
component: 'view.notify_recipient',
|
component: 'view.notify_recipient',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'notify_recipient',
|
title: 'notify_recipient',
|
||||||
i18nKey: 'route.notify_recipient'
|
i18nKey: 'route.notify_recipient',
|
||||||
|
icon: 'fluent:people-call-20-filled'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -390,7 +392,8 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
component: 'view.notify_scene',
|
component: 'view.notify_scene',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'notify_scene',
|
title: 'notify_scene',
|
||||||
i18nKey: 'route.notify_scene'
|
i18nKey: 'route.notify_scene',
|
||||||
|
icon: 'cbi:scene-dynamic'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -423,7 +426,8 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
component: 'view.retry_scene',
|
component: 'view.retry_scene',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'retry_scene',
|
title: 'retry_scene',
|
||||||
i18nKey: 'route.retry_scene'
|
i18nKey: 'route.retry_scene',
|
||||||
|
icon: 'cbi:scene-dynamic'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -432,7 +436,8 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
component: 'view.retry_task',
|
component: 'view.retry_task',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'retry_task',
|
title: 'retry_task',
|
||||||
i18nKey: 'route.retry_task'
|
i18nKey: 'route.retry_task',
|
||||||
|
icon: 'octicon:tasklist'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -464,7 +469,8 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
component: 'view.workflow_batch',
|
component: 'view.workflow_batch',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'workflow_batch',
|
title: 'workflow_batch',
|
||||||
i18nKey: 'route.workflow_batch'
|
i18nKey: 'route.workflow_batch',
|
||||||
|
icon: 'carbon:batch-job'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -473,7 +479,8 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
component: 'view.workflow_task',
|
component: 'view.workflow_task',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'workflow_task',
|
title: 'workflow_task',
|
||||||
i18nKey: 'route.workflow_task'
|
i18nKey: 'route.workflow_task',
|
||||||
|
icon: 'octicon:tasklist'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -114,14 +114,14 @@ function transformElegantRouteToVueRoute(
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// add redirect to child
|
// add redirect to child
|
||||||
if (children?.length && !vueRoute.redirect) {
|
if (children?.length && !vueRoute.redirect) {
|
||||||
vueRoute.redirect = {
|
vueRoute.redirect = {
|
||||||
name: children[0].name
|
name: children[0].name
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (children?.length) {
|
if (children?.length) {
|
||||||
const childRoutes = children.flatMap(child => transformElegantRouteToVueRoute(child, layouts, views));
|
const childRoutes = children.flatMap(child => transformElegantRouteToVueRoute(child, layouts, views));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user