Skip to content

Commit 1142e7e

Browse files
authored
Merge pull request #44 from mayinrain/master
fix: 不再相信更新时机
2 parents d0e17f5 + 801fb55 commit 1142e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/traction-widget/components/TagSelector/TagSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const handleChange = (val: any) => {
8181
cacheOptions.value = cacheOptions.value.filter((item, index, self) => {
8282
return self.findIndex(el => el.value === item.value) === index;
8383
});
84-
cacheOptions.value = cacheOptions.value.filter(item => selectedList.value.includes(item.value));
84+
cacheOptions.value = cacheOptions.value.filter(item => val.includes(item.value));
8585
emit('selectorChange', val);
8686
};
8787

0 commit comments

Comments
 (0)