From 475e27f4a63c190f80526776d8804dcb86a38355 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 17 十二月 2021 14:43:30 +0800
Subject: [PATCH] replace @element-plus/icons with @element-plus/icons-vue
---
src/components/SvgIcon/svgicon.js | 3 ++-
package.json | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index ee2b10a..87d684d 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
"url": "https://gitee.com/y_project/RuoYi-Vue.git"
},
"dependencies": {
- "@element-plus/icons": "0.0.11",
+ "@element-plus/icons-vue": "0.2.4",
"@vueuse/core": "6.4.1",
"axios": "0.24.0",
"echarts": "5.2.1",
diff --git a/src/components/SvgIcon/svgicon.js b/src/components/SvgIcon/svgicon.js
index f0c8d26..b7c1907 100644
--- a/src/components/SvgIcon/svgicon.js
+++ b/src/components/SvgIcon/svgicon.js
@@ -1,4 +1,5 @@
-import * as components from "@element-plus/icons";
+import * as components from '@element-plus/icons-vue'
+
export default {
install: (app) => {
for (const key in components) {
--
Gitblit v1.9.3