模拟了模型对比对话的页面

This commit is contained in:
2026-01-20 23:01:53 +08:00
parent 8b4b750b44
commit b2792a1144
3 changed files with 794 additions and 36 deletions

View File

@@ -478,7 +478,8 @@
const result = await response.json();
if (result.code === 0) {
showMessage('成功', '对比任务创建成功!', 'success', () => {
goBack();
// 跳转到对比聊天页面
window.location.href = `model-compare-chat.html?id=${result.data?.id || ''}`;
});
} else {
showMessage('错误', result.message || '创建失败', 'error');