Explorar o código

!254 update 优化 字典组件值宽松匹配values的问题
Merge pull request !254 from 加多宝/N/A

疯狂的狮子Li hai 3 meses
pai
achega
1e5f89817e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>