Skip to content

Commit 7fe8b8b

Browse files
YunaiVgitee-org
authored andcommitted
!456 fix: #I9TIYS
Merge pull request !456 from ms_think/dev
2 parents 0895f9f + f60b308 commit 7fe8b8b

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)