fix(tree): add deep option for the watch function of data (#1188)

This commit is contained in:
BeADre
2021-01-04 15:39:20 +08:00
committed by GitHub
parent ae5dcec1e8
commit dd341a7376

View File

@@ -181,7 +181,7 @@ export default defineComponent({
watch(() => props.data, newVal => {
store.value.setData(newVal)
})
}, { deep: true })
watch(() => props.checkStrictly, newVal => {
store.value.checkStrictly = newVal