Skip to content

Commit

Permalink
Merge pull request #44 from mayinrain/master
Browse files Browse the repository at this point in the history
fix: 不再相信更新时机
  • Loading branch information
nancyzhan authored May 29, 2024
2 parents d0e17f5 + 801fb55 commit 1142e7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit 1142e7e

Please sign in to comment.