Commit 934826c1 authored by louiebb's avatar louiebb Committed by GitHub

Cascader: fix unexpected error (#21759)

Co-authored-by: default avatarlouie <liguanzhi@youxin.cloud>
parent 13ef9664
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment