Skip to content

Commit

Permalink
fix: 修复保存清楚时间报错的缺陷
Browse files Browse the repository at this point in the history
--bug=1048275 --user=王孝刚 【应用】有一个应用设置日志清除策略,提示“引用分段数”字段必填 https://www.tapd.cn/57709429/s/1601736
  • Loading branch information
wxg0103 committed Oct 30, 2024
1 parent 313e10e commit 6eb2e1b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ui/src/views/log/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -426,14 +426,8 @@ 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
}
const obj = {
clean_time: days.value
}
application
.asyncPutApplication(id as string, obj, loading)
Expand Down

0 comments on commit 6eb2e1b

Please sign in to comment.