refactor: custom icon
This commit is contained in:
@@ -17,7 +17,7 @@ export default {
|
||||
component: () => import('./404.vue'),
|
||||
meta: {
|
||||
title: '404',
|
||||
icon: 'mdi:alert-circle-outline',
|
||||
icon: 'tabler:error-404',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@@ -31,6 +31,7 @@ export default {
|
||||
component: () => import('./post/index.vue'),
|
||||
meta: {
|
||||
title: '文章列表',
|
||||
icon: 'material-symbols:auto-awesome-outline-rounded',
|
||||
role: ['admin'],
|
||||
requireAuth: true,
|
||||
},
|
||||
@@ -41,6 +42,7 @@ export default {
|
||||
component: () => import('./post/PostCreate.vue'),
|
||||
meta: {
|
||||
title: '创建文章',
|
||||
icon: 'material-symbols:auto-awesome-outline-rounded',
|
||||
role: ['admin'],
|
||||
requireAuth: true,
|
||||
},
|
||||
|
@@ -7,7 +7,7 @@ export default {
|
||||
redirect: '/test/unocss',
|
||||
meta: {
|
||||
title: '基础功能测试',
|
||||
icon: 'mdi:menu',
|
||||
customIcon: 'logo',
|
||||
order: 1,
|
||||
},
|
||||
children: [
|
||||
@@ -17,6 +17,7 @@ export default {
|
||||
component: () => import('./unocss/index.vue'),
|
||||
meta: {
|
||||
title: '测试unocss',
|
||||
icon: 'material-symbols:auto-awesome-outline-rounded',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -25,6 +26,7 @@ export default {
|
||||
component: () => import('./message/index.vue'),
|
||||
meta: {
|
||||
title: '测试Message',
|
||||
icon: 'material-symbols:auto-awesome-outline-rounded',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -33,6 +35,7 @@ export default {
|
||||
component: () => import('./dialog/index.vue'),
|
||||
meta: {
|
||||
title: '测试Dialog',
|
||||
icon: 'material-symbols:auto-awesome-outline-rounded',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -42,6 +45,7 @@ export default {
|
||||
meta: {
|
||||
title: '测试Keep-Alive',
|
||||
keepAlive: true,
|
||||
icon: 'material-symbols:auto-awesome-outline-rounded',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user