Эх сурвалжийг харах

修复菜单管理选择图标,backspace删除时不过滤数据

RuoYi 4 жил өмнө
parent
commit
c861b78f80

+ 1 - 2
ruoyi-ui/src/components/IconSelect/index.vue

@@ -25,10 +25,9 @@ export default {
   },
   methods: {
     filterIcons() {
+      this.iconList = icons
       if (this.name) {
         this.iconList = this.iconList.filter(item => item.includes(this.name))
-      } else {
-        this.iconList = icons
       }
     },
     selectedIcon(name) {