From e841e55703e95ffcc9c0b8bd904671a23792149e Mon Sep 17 00:00:00 2001 From: jidanjuan <112756875+jidanjuan@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:36:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20object=E5=8A=9F=E8=83=BD=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20(#4953)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: zhengxinpei <93589233+zzz833708@users.noreply.github.com> Co-authored-by: wencong1724427771 <82081580+wencong1724427771@users.noreply.github.com> Co-authored-by: jayjiahua <553544693@qq.com> Co-authored-by: yiqiwang-17 <66986742+yiqiwang-17@users.noreply.github.com> Co-authored-by: LeeXT Co-authored-by: 闪烁 <57348011+shan-shuo@users.noreply.github.com> Co-authored-by: ctenetlau <74183504+EASYGOING45@users.noreply.github.com> Co-authored-by: xlc <33691777+xiaolicheng-github@users.noreply.github.com> Co-authored-by: q15971095971 <764419406@qq.com> Co-authored-by: chenguo Co-authored-by: liuwenping Co-authored-by: NeoLing Co-authored-by: dengyh Co-authored-by: liang ling Co-authored-by: lai <11598235+unique0lai@users.noreply.github.com> --- bklog/web/src/components/collection-access/step-field.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bklog/web/src/components/collection-access/step-field.vue b/bklog/web/src/components/collection-access/step-field.vue index 3ca447a535..59302f953d 100644 --- a/bklog/web/src/components/collection-access/step-field.vue +++ b/bklog/web/src/components/collection-access/step-field.vue @@ -1557,10 +1557,10 @@ } }) data.etl_fields.push(...this.copyBuiltField) + }else{ + delete data.etl_params['separator_regexp']; + delete data.etl_params['separator']; } - - delete data.etl_params['separator_regexp']; - delete data.etl_params['separator']; } data.alias_settings = fieldTableData.filter(item => item.query_alias).map(item => { return { @@ -1599,7 +1599,6 @@ requestUrl = this.isEditTemp ? 'clean/updateTemplate' : 'clean/createTemplate'; } const updateData = { params: urlParams, data }; - this.$http .request(requestUrl, updateData) .then(res => {