From f60b308dec9a0168a1f30b511f337ad0d8e3b11f Mon Sep 17 00:00:00 2001 From: ms_think Date: Thu, 30 May 2024 09:01:22 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E7=82=B9=E5=87=BB=20?= =?UTF-8?q?=E5=BC=80=E5=90=AF/=E5=85=B3=E9=97=AD=20=E6=8C=89=E9=92=AE?= =?UTF-8?q?=EF=BC=8C=20=E5=BC=B9=E7=AA=97=E7=82=B9=E5=87=BB=E5=8F=96?= =?UTF-8?q?=E6=B6=88=EF=BC=8C=E5=88=97=E8=A1=A8=E9=A1=B5=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=B7=B2=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/infra/job/index.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 {} } /** 删除按钮操作 */