From 801fb552976cb148595870164de66d67ff410472 Mon Sep 17 00:00:00 2001 From: mayinrain <624899618@qq.com> Date: Wed, 29 May 2024 15:20:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=8D=E5=86=8D=E7=9B=B8=E4=BF=A1?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/traction-widget/components/TagSelector/TagSelector.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/traction-widget/components/TagSelector/TagSelector.vue b/packages/traction-widget/components/TagSelector/TagSelector.vue index a2d7022..cc8a1cd 100644 --- a/packages/traction-widget/components/TagSelector/TagSelector.vue +++ b/packages/traction-widget/components/TagSelector/TagSelector.vue @@ -81,7 +81,7 @@ const handleChange = (val: any) => { cacheOptions.value = cacheOptions.value.filter((item, index, self) => { return self.findIndex(el => el.value === item.value) === index; }); - cacheOptions.value = cacheOptions.value.filter(item => selectedList.value.includes(item.value)); + cacheOptions.value = cacheOptions.value.filter(item => val.includes(item.value)); emit('selectorChange', val); };