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

This commit is contained in:
RuoYi 2020-06-03 17:59:32 +08:00
parent 5123832cd7
commit c861b78f80

View File

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