修改 点击 开启/关闭 按钮, 弹窗点击取消,列表页状态已更改

This commit is contained in:
ms_think 2024-05-30 09:01:22 +00:00 committed by Gitee
parent d1be8991b3
commit f60b308dec
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 + '成功')
//
await getList()
} catch {
//
row.status =
row.status === InfraJobStatusEnum.NORMAL ? InfraJobStatusEnum.STOP : InfraJobStatusEnum.NORMAL
}
} catch {}
}
/** 删除按钮操作 */