mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(tree): add deep option for the watch function of data (#1188)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user