feat: 更新 textarea 组件

master
XuPeng 2020-12-11 14:26:55 +08:00 committed by Gogs
parent 88acbd5a18
commit 162f53a17c
1 changed files with 2 additions and 2 deletions

View File

@ -5,12 +5,12 @@
<template is="head" data="{{title: 'textarea'}}"/> <template is="head" data="{{title: 'textarea'}}"/>
<view class="page-body"> <view class="page-body">
<!-- <view class="page-section"> <view class="page-section">
<view class="page-section-title">输入区域高度自适应,不会出现滚动条</view> <view class="page-section-title">输入区域高度自适应,不会出现滚动条</view>
<view class="textarea-wrp"> <view class="textarea-wrp">
<textarea bindblur="bindTextAreaBlur" auto-height /> <textarea bindblur="bindTextAreaBlur" auto-height />
</view> </view>
</view> --> </view>
<view class="page-section"> <view class="page-section">
<view class="page-section-title">这是一个可以自动聚焦的textarea</view> <view class="page-section-title">这是一个可以自动聚焦的textarea</view>