This commit is contained in:
parent
df5bb6d4f9
commit
d5df2dff49
|
|
@ -434,14 +434,13 @@ export function DetailPageHeader({ data }: { data: any }) {
|
|||
const percentMatch = msg.match(/(\d+)%/);
|
||||
if (percentMatch && percentMatch[1]) {
|
||||
setProgress(percentMatch[1] + "%");
|
||||
}
|
||||
|
||||
if (match[1] === "100") {
|
||||
if (percentMatch[1] === "100") {
|
||||
console.log("部署完成 ✅,重新拉取状态!");
|
||||
fetchDeployStatus(); // ✅ 直接重新请求后端最新状态
|
||||
fetchDeployStatus();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
setProgressBarColor("bg-blue-500"); // 保持默认颜色
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue