增加placeholder

master
chenjiajian 2023-04-27 09:53:35 +08:00
parent 55b2c910bd
commit bcb294a135
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ class TextArea extends Component {
attribute: false
},
type: '',
placeholder: '',
autofocus: false,
readOnly: false,
disabled: false,
@ -217,6 +218,7 @@ class TextArea extends Component {
:value=${this.value}
ref="textarea"
spellcheck="false"
placeholder=${this.placeholder}
readonly=${this.readOnly}
disabled=${this.disabled}
maxlength=${this.maxlength}