update:数据总览优化
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user