Commit c861b78f80f46d757085aa70dac508257f6a25dc
1 parent
5123832c
修复菜单管理选择图标,backspace删除时不过滤数据
Showing
1 changed file
with
1 additions
and
2 deletions
ruoyi-ui/src/components/IconSelect/index.vue
| @@ -25,10 +25,9 @@ export default { | @@ -25,10 +25,9 @@ export default { | ||
| 25 | }, | 25 | }, |
| 26 | methods: { | 26 | methods: { |
| 27 | filterIcons() { | 27 | filterIcons() { |
| 28 | + this.iconList = icons | ||
| 28 | if (this.name) { | 29 | if (this.name) { |
| 29 | this.iconList = this.iconList.filter(item => item.includes(this.name)) | 30 | this.iconList = this.iconList.filter(item => item.includes(this.name)) |
| 30 | - } else { | ||
| 31 | - this.iconList = icons | ||
| 32 | } | 31 | } |
| 33 | }, | 32 | }, |
| 34 | selectedIcon(name) { | 33 | selectedIcon(name) { |