From e58bdbe71d29bd48c40ea049cfc527388ff5a905 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 19 Feb 2024 09:25:51 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9bug80662?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SelectDepartmentField.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/SelectDepartmentField.vue b/src/components/SelectDepartmentField.vue index 440869e..24b6d27 100644 --- a/src/components/SelectDepartmentField.vue +++ b/src/components/SelectDepartmentField.vue @@ -10,7 +10,7 @@ :rules="rules" rows="1" autosize - :placeholder="$t('clickSelect') + label" + :placeholder="placeholder || $t('clickSelect') + label" readonly /> @@ -89,6 +89,11 @@ export default { type: String, required: false, default: '部门' + }, + placeholder: { + type: String, + required: false, + default: '' } }, watch: {