chore(web): 合并 K22 路由图标收尾
This commit is contained in:
commit
5494190330
1 file changed
+6
-5
+6
-5
@@ -4,6 +4,7 @@ import { createRouter, createWebHashHistory } from 'vue-router'
|
|||||||
import type { RouteRecordRaw } from 'vue-router'
|
import type { RouteRecordRaw } from 'vue-router'
|
||||||
import type { App } from 'vue'
|
import type { App } from 'vue'
|
||||||
import { Layout } from '@/utils/routerHelper'
|
import { Layout } from '@/utils/routerHelper'
|
||||||
|
import { AppIcons } from '@/constants/icons'
|
||||||
|
|
||||||
export const constantRouterMap: AppRouteRecordRaw[] = [
|
export const constantRouterMap: AppRouteRecordRaw[] = [
|
||||||
{
|
{
|
||||||
@@ -62,7 +63,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
|||||||
name: 'Dashboard',
|
name: 'Dashboard',
|
||||||
meta: {
|
meta: {
|
||||||
title: '工作台',
|
title: '工作台',
|
||||||
icon: 'ant-design:dashboard-filled'
|
icon: AppIcons.dashboard
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@@ -71,7 +72,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
|||||||
component: () => import('@/views/common/DashboardView.vue'),
|
component: () => import('@/views/common/DashboardView.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '工作台',
|
title: '工作台',
|
||||||
icon: 'ant-design:dashboard-filled',
|
icon: AppIcons.dashboard,
|
||||||
affix: true
|
affix: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -84,7 +85,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
|||||||
name: 'Content',
|
name: 'Content',
|
||||||
meta: {
|
meta: {
|
||||||
title: '内容管理',
|
title: '内容管理',
|
||||||
icon: 'ep:video-camera',
|
icon: AppIcons.content,
|
||||||
alwaysShow: true
|
alwaysShow: true
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
@@ -129,7 +130,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
|||||||
name: 'UserCenter',
|
name: 'UserCenter',
|
||||||
meta: {
|
meta: {
|
||||||
title: '用户管理',
|
title: '用户管理',
|
||||||
icon: 'ep:user',
|
icon: AppIcons.group,
|
||||||
alwaysShow: true
|
alwaysShow: true
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
@@ -150,7 +151,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
|
|||||||
name: 'System',
|
name: 'System',
|
||||||
meta: {
|
meta: {
|
||||||
title: '后台管理',
|
title: '后台管理',
|
||||||
icon: 'ep:setting',
|
icon: AppIcons.settings,
|
||||||
alwaysShow: true
|
alwaysShow: true
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in new issue
Block a user