From 1294f682659c45169d966e40e5cac5597cec84aa Mon Sep 17 00:00:00 2001
From: 马小法 <ma_0425@163.com>
Date: 星期一, 27 十二月 2021 15:33:22 +0800
Subject: [PATCH] fix https://gitee.com/y_project/RuoYi-Vue/issues/I4O5WD

---
 ruoyi-ui/src/components/IconSelect/index.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/components/IconSelect/index.vue b/ruoyi-ui/src/components/IconSelect/index.vue
index ea4c1b6..a7512b2 100644
--- a/ruoyi-ui/src/components/IconSelect/index.vue
+++ b/ruoyi-ui/src/components/IconSelect/index.vue
@@ -25,10 +25,9 @@
   },
   methods: {
     filterIcons() {
+      this.iconList = icons
       if (this.name) {
         this.iconList = this.iconList.filter(item => item.includes(this.name))
-      } else {
-        this.iconList = icons
       }
     },
     selectedIcon(name) {

--
Gitblit v1.9.2