diff --git a/src/views/infra/job/index.vue b/src/views/infra/job/index.vue index a9ab332b..29460030 100644 --- a/src/views/infra/job/index.vue +++ b/src/views/infra/job/index.vue @@ -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 {} } /** 删除按钮操作 */