fix(sj_map_reduce): 修复工作量批次详情手动刷新异常
This commit is contained in:
parent
0bb49996bc
commit
60bacf0d2c
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user