fixed #787
This commit is contained in:
parent
05e2dda017
commit
69a10b78f7
3 changed files with 138 additions and 49 deletions
|
@ -119,6 +119,14 @@
|
|||
this.$on('on-checked', () => {
|
||||
this.$emit('on-check-change', this.getCheckedNodes());
|
||||
});
|
||||
},
|
||||
watch: {
|
||||
data () {
|
||||
this.$nextTick(() => {
|
||||
this.updateData();
|
||||
this.broadcast('TreeNode', 'indeterminate');
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue