正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -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) { |
-
请 注册 或 登录 后发表评论