test tree

This commit is contained in:
2023-05-18 10:16:37 +08:00
parent 326b5598ba
commit 220c4f1709
4 changed files with 80 additions and 89 deletions

View File

@@ -103,13 +103,10 @@ watch(
watch(
() => props.checkedKeys,
() => {
nextTick(()=>{
console.log("重新加载",unWatch.value)
if (!unWatch.value) {
console.log("重新加载")
loadNodeList();
}
})
console.log(tree.value)
if (!unWatch.value) {
loadNodeList();
}
},
{
deep: true