Эх сурвалжийг харах

fix checkbox isGroup bug in computed cached (#1860)

baiyaaaaa 8 жил өмнө
parent
commit
15e74b6e7d

+ 1 - 1
packages/checkbox/src/checkbox.vue

@@ -98,7 +98,7 @@
       },
 
       store() {
-        return this._checkboxGroup.value;
+        return this._checkboxGroup ? this._checkboxGroup.value : this.value;
       }
     },