build: base url

This commit is contained in:
jialin
2024-06-14 11:17:04 +08:00
parent 73c68dee1b
commit 94e8638d28
7 changed files with 61 additions and 26 deletions
@@ -39,9 +39,12 @@ const TableRow: React.FC<
}, [rowSelection]);
const handleRowExpand = async () => {
setExpanded(!expanded);
onExpand?.(!expanded, record);
if (expanded) {
return;
}
try {
setExpanded(!expanded);
onExpand?.(!expanded, record);
setLoading(true);
const data = await loadChildren?.(record);
setChildrenData(data || []);