From c59b00b87dd4ee5cc62cb10bb5476275bd130179 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Tue, 20 Aug 2024 14:37:29 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=A0=87=E5=87=86=E5=B9=B4=E4=BB=A3?= =?UTF-8?q?=E5=8F=B7=E6=94=B9=E6=88=90=E9=9D=9E=E5=BF=85=E5=A1=AB=E7=9A=84?= =?UTF-8?q?=E8=AF=9D=E7=BC=96=E8=BE=91=E7=9A=84=E6=97=B6=E5=80=99placehold?= =?UTF-8?q?er=E7=BD=AE=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/customField/AddForm.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 7b78262..5fc60f7 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -83,7 +83,7 @@ :disabled="disabled || disabledFieldList.includes(item.dbFieldName)" v-model="formInline[item.dbFieldName]" :maxLength="item.dbLength" - :placeholder="specialPlaceholder[item.dbFieldName] || $t('pleaseEnter')+item.dbFieldTxt" /> + :placeholder="isEdit && disabledFieldList.includes(item.dbFieldName) && !formInline[item.dbFieldName] ? '' : (specialPlaceholder[item.dbFieldName] || $t('pleaseEnter')+item.dbFieldTxt)" /> { if (!this.getDocumentInfoFunc || typeof this.getDocumentInfoFunc !== 'function') { this.loading = false