From 5dd68e04a2f632cc23d6adfed9066c98b9cda559 Mon Sep 17 00:00:00 2001 From: qiang Date: Wed, 3 Jun 2020 18:48:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20textarea=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=20focus=20=E5=B1=9E=E6=80=A7=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=84=A6=E7=82=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/view/components/textarea/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/view/components/textarea/index.vue b/src/core/view/components/textarea/index.vue index 32d96ef3..ef5a14f5 100644 --- a/src/core/view/components/textarea/index.vue +++ b/src/core/view/components/textarea/index.vue @@ -33,7 +33,7 @@ v-model="valueSync" :disabled="disabled" :maxlength="maxlengthNumber" - :autofocus="autoFocus" + :autofocus="autoFocus || focus" :class="{'uni-textarea-textarea-fix-margin': fixMargin}" :style="{'overflow-y': autoHeight? 'hidden':'auto'}" class="uni-textarea-textarea" -- GitLab