mirror of
https://github.com/Awuqing/BackupX.git
synced 2026-05-31 08:19:36 +08:00
1. masterVersion null 态(NodesPage + Wizard + Step2) 原 'latest' 默认值会生成 releases/download/latest/... 404 URL。 改为 null(拉取中)/ 空串(失败)两态: - 拉取成功:Select 显示 Master 版本 - 拉取失败:Input 要求用户手动输入版本号 - handleGenerate 前校验 agentVersion 非空 2. 批量创建 N+1 串行请求 → Promise.all 并发 + 进度条 原 for 循环逐个 await createInstallToken,50 节点 N 次串行延迟。 改为 Promise.all 并发,用 batchProgress state 驱动 Arco Progress 显示 "已生成 X / N 个令牌",同时 mountedRef 保护 unmount 后不更新 state。 3. 批次内重复节点名前端预提示 spec §6.2 要求"前端去重",此前依赖后端报错。 handleGenerate 前扫描 parseBatchNames 检测批次内重复并 Message.warning。