From 68bfa0df7448e144061db18d441df1b95eacc44a Mon Sep 17 00:00:00 2001 From: ZhengJie <201507802@qq.com> Date: Wed, 3 Jun 2020 18:07:28 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BB=A3=E7=A0=81=E5=AE=8C=E5=96=84](v2.5):?= =?UTF-8?q?=20v2.5=20=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=80=89=E6=8B=A9=E5=9B=BE=E6=A0=87=EF=BC=8Cbackspace?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=B6=E4=B8=8D=E8=BF=87=E6=BB=A4=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IconSelect/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/IconSelect/index.vue b/src/components/IconSelect/index.vue index 0611dc5..b0ec9fa 100644 --- a/src/components/IconSelect/index.vue +++ b/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) {