Skip to content

Commit f60b308

Browse files
ms_thinkgitee-org
authored andcommitted
修改 点击 开启/关闭 按钮, 弹窗点击取消,列表页状态已更改
1 parent d1be899 commit f60b308

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/views/infra/job/index.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,7 @@ const handleChangeStatus = async (row: JobApi.JobVO) => {
235235
message.success(text + '成功')
236236
// 刷新列表
237237
await getList()
238-
} catch {
239-
// 取消后,进行恢复按钮
240-
row.status =
241-
row.status === InfraJobStatusEnum.NORMAL ? InfraJobStatusEnum.STOP : InfraJobStatusEnum.NORMAL
242-
}
238+
} catch {}
243239
}
244240
245241
/** 删除按钮操作 */

0 commit comments

Comments
 (0)