From 1a414c202d254a642771d427c1c9f9d9812af148 Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Tue, 15 Oct 2024 17:40:35 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Astage=20=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20checklist=20=E7=A1=AE=E8=AE=A4=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=20#10920=20#=20Reviewed,=20transaction=20id:=2020719?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StageReviewPanel/components/params/approve.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frontend/devops-pipeline/src/components/StageReviewPanel/components/params/approve.vue b/src/frontend/devops-pipeline/src/components/StageReviewPanel/components/params/approve.vue index d4f1e9a897e..4b9c2df68a7 100644 --- a/src/frontend/devops-pipeline/src/components/StageReviewPanel/components/params/approve.vue +++ b/src/frontend/devops-pipeline/src/components/StageReviewPanel/components/params/approve.vue @@ -87,9 +87,10 @@ return new Promise((resolve, reject) => { // 校验必填 const errorKeys = [] - this.params.forEach(({ required, valueType, value, key }) => { + console.log(this.params, '?????????') + this.params.forEach(({ required, valueType, value, key, chineseName }) => { if (required) { - key = (key || '').replace(/^variables\./, '') + key = chineseName || (key || '').replace(/^variables\./, '') if (typeof value === 'undefined' || value === '') { errorKeys.push(key) } @@ -130,6 +131,7 @@ .review-param-gap { display: inline-block; min-width: 28px; + height: 18px; &.param-require:after { height: 8px; line-height: 1;