diff --git a/components/canvas/CanvasFileList.tsx b/components/canvas/CanvasFileList.tsx index 1f0abe6..ca17f4b 100644 --- a/components/canvas/CanvasFileList.tsx +++ b/components/canvas/CanvasFileList.tsx @@ -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}`; }; // 删除画布