We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c39c943 commit 37d39dbCopy full SHA for 37d39db
ui/src/views/log/index.vue
@@ -428,8 +428,15 @@ function changeDayHandle(val: number | string) {
428
function saveCleanTime() {
429
const data = detail.value
430
data.clean_time = days.value
431
+ let obj = { ...data, clean_time: days.value }
432
+ if (data.type === 'WORK_FLOW') {
433
+ obj = {
434
+ work_flow: data.work_flow,
435
+ clean_time: days.value
436
+ }
437
438
application
- .asyncPutApplication(id as string, data, loading)
439
+ .asyncPutApplication(id as string, obj, loading)
440
.then(() => {
441
MsgSuccess('保存成功')
442
dialogVisible.value = false
0 commit comments