test tree

This commit is contained in:
Theluyuan 2023-05-18 09:42:48 +08:00
parent 312e31761d
commit 912e04cca7
4 changed files with 4 additions and 1 deletions

View File

@ -422,6 +422,7 @@ const _sfc_main = defineComponent({
}, { deep: true, immediate: true }); }, { deep: true, immediate: true });
watch(() => props.checkedKeys, () => { watch(() => props.checkedKeys, () => {
if (!unWatch.value) { if (!unWatch.value) {
console.log("\u91CD\u65B0\u52A0\u8F7D");
loadNodeList(); loadNodeList();
} }
}, { }, {

View File

@ -18019,6 +18019,7 @@ const _sfc_main$J = defineComponent({
}, { deep: true, immediate: true }); }, { deep: true, immediate: true });
watch(() => props.checkedKeys, () => { watch(() => props.checkedKeys, () => {
if (!unWatch.value) { if (!unWatch.value) {
console.log("\u91CD\u65B0\u52A0\u8F7D");
loadNodeList(); loadNodeList();
} }
}, { }, {

View File

@ -104,6 +104,7 @@ watch(
() => props.checkedKeys, () => props.checkedKeys,
() => { () => {
if (!unWatch.value) { if (!unWatch.value) {
console.log("重新加载")
loadNodeList(); loadNodeList();
} }
}, },

File diff suppressed because one or more lines are too long