From 6eb2e1b05bdb7a8e55df5fb7839c5ea30086d799 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 30 Oct 2024 11:12:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E6=B8=85=E6=A5=9A=E6=97=B6=E9=97=B4=E6=8A=A5=E9=94=99=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1048275 --user=王孝刚 【应用】有一个应用设置日志清除策略,提示“引用分段数”字段必填 https://www.tapd.cn/57709429/s/1601736 --- ui/src/views/log/index.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ui/src/views/log/index.vue b/ui/src/views/log/index.vue index a1a5d8981..b7b21b97d 100644 --- a/ui/src/views/log/index.vue +++ b/ui/src/views/log/index.vue @@ -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)