From 999e725a3fcfd90708ba11f31139253b9ef3a1ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=AF=BA?= <1253070437@qq.com> Date: Sat, 3 Dec 2022 23:46:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BB=BB=E5=8A=A1=EF=BC=88=E7=BC=96=E8=BE=91=E5=8D=95?= =?UTF-8?q?=E9=A1=B5=E9=80=89=E6=8B=A9=E5=9B=BE=E6=A0=87=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=89=20https://gitee.com/xiaonuobase/sno?= =?UTF-8?q?wy/issues/I63CSX?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snowy-admin-web/src/components/Selector/iconSelector.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowy-admin-web/src/components/Selector/iconSelector.vue b/snowy-admin-web/src/components/Selector/iconSelector.vue index 5d0ecbfb..01dfb3c1 100644 --- a/snowy-admin-web/src/components/Selector/iconSelector.vue +++ b/snowy-admin-web/src/components/Selector/iconSelector.vue @@ -60,7 +60,7 @@ }, // 默认配置 defaultSetting(value) { - if ((value !== undefined) & (value !== '') & (value !== 'undefined')) { + if (value) { this.modelValue = value // 判断展开哪个 if (value.indexOf('-outlined') > -1 || value.indexOf('-filled') > -1 || value.indexOf('-two-tone') > -1) {