|
@@ -136,6 +136,10 @@ export default {
|
|
|
},
|
|
|
|
|
|
watch: {
|
|
|
+ value() {
|
|
|
+ this.syncCheckedValue();
|
|
|
+ this.checkStrictly && this.calculateCheckedNodePaths();
|
|
|
+ },
|
|
|
options: {
|
|
|
handler: function() {
|
|
|
this.initStore();
|
|
@@ -143,10 +147,6 @@ export default {
|
|
|
immediate: true,
|
|
|
deep: true
|
|
|
},
|
|
|
- value() {
|
|
|
- this.syncCheckedValue();
|
|
|
- this.checkStrictly && this.calculateCheckedNodePaths();
|
|
|
- },
|
|
|
checkedValue(val) {
|
|
|
if (!isEqual(val, this.value)) {
|
|
|
this.checkStrictly && this.calculateCheckedNodePaths();
|