update:数据总览优化

This commit is contained in:
2025-12-01 09:49:34 +08:00
parent c2a451edbc
commit 18a28da763
2 changed files with 39 additions and 8 deletions

View File

@@ -194,10 +194,19 @@ const searchFun = () => {
emit('search');
};
const reloadNodeFun = (id: any) => {
const node = treeRef.value.getNode(id);
if (node) {
node.loaded = false;
node.expand();
}
};
defineExpose({
backFun,
openDirFun,
reloadFun,
reloadNodeFun,
});
</script>