修复菜单管理选择图标,backspace删除时不过滤数据
This commit is contained in:
parent
5123832cd7
commit
c861b78f80
|
@ -25,10 +25,9 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
filterIcons() {
|
filterIcons() {
|
||||||
|
this.iconList = icons
|
||||||
if (this.name) {
|
if (this.name) {
|
||||||
this.iconList = this.iconList.filter(item => item.includes(this.name))
|
this.iconList = this.iconList.filter(item => item.includes(this.name))
|
||||||
} else {
|
|
||||||
this.iconList = icons
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectedIcon(name) {
|
selectedIcon(name) {
|
||||||
|
|
Loading…
Reference in New Issue