diff --git a/ruoyi-ui/src/components/IconSelect/index.vue b/ruoyi-ui/src/components/IconSelect/index.vue index ea4c1b66e..a7512b2d6 100644 --- a/ruoyi-ui/src/components/IconSelect/index.vue +++ b/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) {