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) {