修改 点击 开启/关闭 按钮, 弹窗点击取消,列表页状态已更改
This commit is contained in:
parent
d1be8991b3
commit
f60b308dec
@ -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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
|
Loading…
Reference in New Issue
Block a user