Browse Source

update 优化 字典组件值宽松匹配values的问题

Signed-off-by: 加多宝 <945324621@qq.com>
加多宝 3 tháng trước cách đây
mục cha
commit
3008a8d7b0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/DictTag/index.vue

+ 1 - 1
src/components/DictTag/index.vue

@@ -88,7 +88,7 @@ const handleArray = (array: Array<string | number>) => {
 };
 
 const isValueMatch = (itemValue: any) => {
-  return this.values.some(val => val == itemValue)
+  return values.value.some(val => val == itemValue)
 }
 </script>