Przeglądaj źródła

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

疯狂的狮子Li 3 miesięcy temu
rodzic
commit
1e5f89817e
1 zmienionych plików z 1 dodań i 1 usunięć
  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>