mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-05 11:21:11 +08:00
fix(tree): add deep option for the watch function of data (#1188)
This commit is contained in:
parent
ae5dcec1e8
commit
dd341a7376
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user