From 22380a5b8b6e4f41ead3b1e60e0b74c1a613f29e Mon Sep 17 00:00:00 2001 From: vhwweng <1010382269@qq.com> Date: Tue, 22 Mar 2022 20:13:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E5=85=B3=E8=81=94=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E5=88=B0=E5=95=86=E5=BA=97=E7=95=8C=E9=9D=A2=EF=BC=8C=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E9=A1=B9=E7=9B=AEbugfix=20issue=20#6370?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/devops-atomstore/src/views/workList/template.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/devops-atomstore/src/views/workList/template.vue b/src/frontend/devops-atomstore/src/views/workList/template.vue index f2965efd7cb..2089b73d146 100644 --- a/src/frontend/devops-atomstore/src/views/workList/template.vue +++ b/src/frontend/devops-atomstore/src/views/workList/template.vue @@ -465,6 +465,9 @@ projectCode: this.relateTemplateForm.projectCode }) this.templateList.splice(0, this.templateList.length, ...res.models || []) + if (!res.models.length) { + this.relateTemplateForm.template = '' + } } catch (err) { this.$bkMessage({ message: err.message ? err.message : err, From d4583a760bd4a276df60fea5455401a459a33ff1 Mon Sep 17 00:00:00 2001 From: vhwweng <1010382269@qq.com> Date: Mon, 9 May 2022 19:04:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E5=85=B3=E8=81=94=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E5=88=B0=E5=95=86=E5=BA=97=E7=95=8C=E9=9D=A2=EF=BC=8C=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E9=A1=B9=E7=9B=AEbugfix=20issue=20#6370?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devops-atomstore/src/views/workList/template.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/frontend/devops-atomstore/src/views/workList/template.vue b/src/frontend/devops-atomstore/src/views/workList/template.vue index 2089b73d146..b21ad17d217 100644 --- a/src/frontend/devops-atomstore/src/views/workList/template.vue +++ b/src/frontend/devops-atomstore/src/views/workList/template.vue @@ -100,6 +100,7 @@