fix(sj_map_reduce): 修复工作量批次详情手动刷新异常

This commit is contained in:
xlsea 2024-07-03 19:21:05 +08:00
parent 0bb49996bc
commit 60bacf0d2c
2 changed files with 4 additions and 4 deletions

View File

@ -165,8 +165,6 @@ function openNewTab() {
}
const handleSyncSelect = async (time: number) => {
syncTime.value = time;
if (time === -1) {
if (finished.value) {
finished.value = false;
@ -175,6 +173,8 @@ const handleSyncSelect = async (time: number) => {
return;
}
syncTime.value = time;
if (time === 0) {
pauseLog();
return;

View File

@ -47,8 +47,6 @@ const getBatchDetail = async () => {
};
const handleSyncSelect = async (time: number) => {
syncTime.value = time;
if (time === -1) {
if (finished.value) {
finished.value = false;
@ -57,6 +55,8 @@ const handleSyncSelect = async (time: number) => {
return;
}
syncTime.value = time;
if (time === 0) {
pauseBatch();
return;