refactor: 所有本地路由(除个人中心/workflow-iframe)改为从后端返回 适配

This commit is contained in:
dap
2025-05-23 14:30:12 +08:00
parent d039c53053
commit a38f2de982
11 changed files with 102 additions and 67 deletions

View File

@@ -110,7 +110,7 @@ function handlePreview(record: Recordable<any>) {
const router = useRouter();
function handleEdit(record: Recordable<any>) {
router.push(`/code-gen/edit/${record.tableId}`);
router.push(`/tool/gen-edit/index/${record.tableId}`);
}
async function handleSync(record: Recordable<any>) {