feat:使用 router name 进行跳转

This commit is contained in:
YunaiV
2025-10-20 19:24:14 +08:00
parent fba34d6ceb
commit 1b869a1e3a
18 changed files with 22 additions and 22 deletions

View File

@@ -86,7 +86,7 @@ async function submitForm() {
const tabs = useTabs();
function close() {
tabs.closeCurrentTab();
router.push('/infra/codegen');
router.push({ name: 'InfraCodegen' });
}
/** 下一步 */