From 29465ab4edbd1d0756c46c3381003f0d710deb66 Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Mon, 19 Oct 2026 11:18:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E7=BB=9F=E4=B8=80=E9=9D=99?= =?UTF-8?q?=E6=80=81=E8=B7=AF=E7=94=B1=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 017c553..d4bd294 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -4,6 +4,7 @@ import { createRouter, createWebHashHistory } from 'vue-router' import type { RouteRecordRaw } from 'vue-router' import type { App } from 'vue' import { Layout } from '@/utils/routerHelper' +import { AppIcons } from '@/constants/icons' export const constantRouterMap: AppRouteRecordRaw[] = [ { @@ -62,7 +63,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [ name: 'Dashboard', meta: { title: '工作台', - icon: 'ant-design:dashboard-filled' + icon: AppIcons.dashboard }, children: [ { @@ -71,7 +72,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [ component: () => import('@/views/common/DashboardView.vue'), meta: { title: '工作台', - icon: 'ant-design:dashboard-filled', + icon: AppIcons.dashboard, affix: true } } @@ -84,7 +85,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [ name: 'Content', meta: { title: '内容管理', - icon: 'ep:video-camera', + icon: AppIcons.content, alwaysShow: true }, children: [ @@ -129,7 +130,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [ name: 'UserCenter', meta: { title: '用户管理', - icon: 'ep:user', + icon: AppIcons.group, alwaysShow: true }, children: [ @@ -150,7 +151,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [ name: 'System', meta: { title: '后台管理', - icon: 'ep:setting', + icon: AppIcons.settings, alwaysShow: true }, children: [