test tree
This commit is contained in:
parent
326b5598ba
commit
220c4f1709
@ -421,13 +421,10 @@ const _sfc_main = defineComponent({
|
|||||||
loadNodeList();
|
loadNodeList();
|
||||||
}, { deep: true, immediate: true });
|
}, { deep: true, immediate: true });
|
||||||
watch(() => props.checkedKeys, () => {
|
watch(() => props.checkedKeys, () => {
|
||||||
nextTick(() => {
|
console.log(tree.value);
|
||||||
console.log("\u91CD\u65B0\u52A0\u8F7D", unWatch.value);
|
|
||||||
if (!unWatch.value) {
|
if (!unWatch.value) {
|
||||||
console.log("\u91CD\u65B0\u52A0\u8F7D");
|
|
||||||
loadNodeList();
|
loadNodeList();
|
||||||
}
|
}
|
||||||
});
|
|
||||||
}, {
|
}, {
|
||||||
deep: true
|
deep: true
|
||||||
});
|
});
|
||||||
|
@ -18018,13 +18018,10 @@ const _sfc_main$J = defineComponent({
|
|||||||
loadNodeList();
|
loadNodeList();
|
||||||
}, { deep: true, immediate: true });
|
}, { deep: true, immediate: true });
|
||||||
watch(() => props.checkedKeys, () => {
|
watch(() => props.checkedKeys, () => {
|
||||||
nextTick(() => {
|
console.log(tree.value);
|
||||||
console.log("\u91CD\u65B0\u52A0\u8F7D", unWatch.value);
|
|
||||||
if (!unWatch.value) {
|
if (!unWatch.value) {
|
||||||
console.log("\u91CD\u65B0\u52A0\u8F7D");
|
|
||||||
loadNodeList();
|
loadNodeList();
|
||||||
}
|
}
|
||||||
});
|
|
||||||
}, {
|
}, {
|
||||||
deep: true
|
deep: true
|
||||||
});
|
});
|
||||||
|
@ -103,13 +103,10 @@ watch(
|
|||||||
watch(
|
watch(
|
||||||
() => props.checkedKeys,
|
() => props.checkedKeys,
|
||||||
() => {
|
() => {
|
||||||
nextTick(()=>{
|
console.log(tree.value)
|
||||||
console.log("重新加载",unWatch.value)
|
|
||||||
if (!unWatch.value) {
|
if (!unWatch.value) {
|
||||||
console.log("重新加载")
|
|
||||||
loadNodeList();
|
loadNodeList();
|
||||||
}
|
}
|
||||||
})
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
deep: true
|
deep: true
|
||||||
|
136
umd/index.js
136
umd/index.js
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user