diff --git a/src/components/hzwlComponents/SelectFormItem.vue b/src/components/hzwlComponents/SelectFormItem.vue index 1e14ab60b..fd3f0d647 100644 --- a/src/components/hzwlComponents/SelectFormItem.vue +++ b/src/components/hzwlComponents/SelectFormItem.vue @@ -48,9 +48,16 @@ export default { type: Boolean, default: true }, + customPlaceholder: { + type: String, + default: '' + }, }, computed: { placeholder () { + if (this.customPlaceholder !== '') { + return this.customPlaceholder + } return `请选择${this.label}` }, },