Skip to content

Commit 3008a8d

Browse files
WWTBNBWNgitee-org
authored andcommitted
update 优化 字典组件值宽松匹配values的问题
Signed-off-by: 加多宝 <[email protected]>
1 parent 56bb05d commit 3008a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DictTag/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const handleArray = (array: Array<string | number>) => {
8888
};
8989
9090
const isValueMatch = (itemValue: any) => {
91-
return this.values.some(val => val == itemValue)
91+
return values.value.some(val => val == itemValue)
9292
}
9393
</script>
9494

0 commit comments

Comments
 (0)