feat:使用 router name 进行跳转

This commit is contained in:
YunaiV
2025-10-20 19:14:00 +08:00
parent 2b15a1835d
commit fba34d6ceb
7 changed files with 49 additions and 89 deletions

View File

@@ -118,7 +118,7 @@ async function handleSave() {
// 保存成功,提示并跳转到列表页
message.success('保存成功');
tabs.closeCurrentTab();
await tabs.closeCurrentTab();
await router.push({ name: 'AiWorkflow' });
} catch (error: any) {
console.error('保存失败:', error);