From 19cd09808641f74362a9a1f898a3daaafea23111 Mon Sep 17 00:00:00 2001 From: handongxun Date: Tue, 28 Dec 2021 14:41:02 +0800 Subject: [PATCH] =?UTF-8?q?textarea:=20=E8=A1=A5=E5=85=85=20nvue=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=20word-wrap=20=E5=85=BC=E5=AE=B9=E6=80=A7?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/textarea.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/component/textarea.md b/docs/component/textarea.md index f2ab44732..44bf4675e 100644 --- a/docs/component/textarea.md +++ b/docs/component/textarea.md @@ -90,6 +90,7 @@ export default { - 软键盘的弹出和收起逻辑,详见[input的文档](/component/input?id=app%E5%B9%B3%E5%8F%B0ios%E7%AB%AF%E8%BD%AF%E9%94%AE%E7%9B%98%E4%B8%8A%E6%96%B9%E6%A8%AA%E6%9D%A1%E5%8E%BB%E9%99%A4%E6%96%B9%E6%A1%88) - 如需禁止点击其他位置收起键盘的默认行为,可以监听`touch`事件并使用`prevent`修饰符(仅支持App、H5,其他平台可以通过设置`focus`来使输入框重新获取焦点),例如在确认按钮上使用:```@touchend.prevent="onTap"``` - js中给textarea组件赋值为字符串,在字符串中加\n可实现换行。 +- nvue 样式 `word-wrap` 在 Android 平台暂不支持 ```