fix: 修复画布列表切换时页面不自动加载的问题
This commit is contained in:
parent
5f88eb44b3
commit
0369bc361d
@ -64,8 +64,9 @@ export function CanvasFileList({ open, onOpenChange, currentId }: CanvasFileList
|
||||
onOpenChange(false);
|
||||
return;
|
||||
}
|
||||
router.push(`/canvas/${id}`);
|
||||
onOpenChange(false);
|
||||
// 使用完整的 URL 导航确保页面重新加载
|
||||
window.location.href = `/canvas/${id}`;
|
||||
};
|
||||
|
||||
// 删除画布
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user