diff --git a/ui/src/views/log/index.vue b/ui/src/views/log/index.vue index 34dc7cd86f..a1a5d8981e 100644 --- a/ui/src/views/log/index.vue +++ b/ui/src/views/log/index.vue @@ -428,8 +428,15 @@ function changeDayHandle(val: number | string) { function saveCleanTime() { const data = detail.value data.clean_time = days.value + let obj = { ...data, clean_time: days.value } + if (data.type === 'WORK_FLOW') { + obj = { + work_flow: data.work_flow, + clean_time: days.value + } + } application - .asyncPutApplication(id as string, data, loading) + .asyncPutApplication(id as string, obj, loading) .then(() => { MsgSuccess('保存成功') dialogVisible.value = false