From c466b7f253a93d3a9b58c658adf6ec75574f5bd8 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期二, 17 六月 2025 09:06:38 +0800 Subject: [PATCH] 公司logo动态切换,整体样式修改 --- src/components/SvgIcon/svgicon.js | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/SvgIcon/svgicon.js b/src/components/SvgIcon/svgicon.js index f0c8d26..05284e3 100644 --- a/src/components/SvgIcon/svgicon.js +++ b/src/components/SvgIcon/svgicon.js @@ -1,9 +1,10 @@ -import * as components from "@element-plus/icons"; +import * as components from '@element-plus/icons-vue' + export default { - install: (app) => { - for (const key in components) { - const componentConfig = components[key]; - app.component(componentConfig.name, componentConfig); - } - }, -}; + install: (app) => { + for (const key in components) { + const componentConfig = components[key] + app.component(componentConfig.name, componentConfig) + } + } +} -- Gitblit v1.9.3