From bcb294a13527d99bf07dc02b3a2b0b838742f670 Mon Sep 17 00:00:00 2001 From: chenjiajian <770230504@qq.com> Date: Thu, 27 Apr 2023 09:53:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0placeholder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/textarea.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/form/textarea.js b/src/form/textarea.js index fd67368..8899a1e 100644 --- a/src/form/textarea.js +++ b/src/form/textarea.js @@ -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}