feat: add aigc regenerate flow and improve task polling

Add reusable RegenerateConfirmPopup component. Implement full regeneration flow in AIGC detail page with balance checks, insufficient point prompt, task creation and progress page navigation. Refine progress page polling logic with lifecycle handling, duplicate request prevention and timer cleanup.
This commit is contained in:
duanshuwen
2026-07-17 21:36:08 +08:00
parent b04e3a4613
commit 1a4b320dc5
5 changed files with 332 additions and 17 deletions

View File

@@ -7,7 +7,7 @@ import { getServiceUrl } from "../api/GetServiceUrlApi";
const versionValue = "1.1.3";
/// 是否是测试版本, 测试版本为true 发布版本为false
const developVersion = true;
const developVersion = false;
// 获取服务地址
const getEvnUrl = async () => {