!456 fix: #I9TIYS

Merge pull request !456 from ms_think/dev
This commit is contained in:
芋道源码 2024-06-22 06:56:02 +00:00 committed by Gitee
commit 7fe8b8b7a9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -235,11 +235,7 @@ const handleChangeStatus = async (row: JobApi.JobVO) => {
message.success(text + '成功') message.success(text + '成功')
// //
await getList() await getList()
} catch { } catch {}
//
row.status =
row.status === InfraJobStatusEnum.NORMAL ? InfraJobStatusEnum.STOP : InfraJobStatusEnum.NORMAL
}
} }
/** 删除按钮操作 */ /** 删除按钮操作 */