textarea 无法清空页面的内容

发布于 7 年前作者 yangding7665 次浏览最后编辑 7 年前来自 ask
  • 当前 Bug 的表现(可附上截图)

<view class=“textarea-wrp”>

<textarea placeholder=“请输入评论的内容” class=“my-textarea” value=“{{msg}}”

cursor-spacing=“10px” bindfocus=“inputFocus” bindblur=“inputBlur”

bindinput=“sendMessage” focus=“{{focus}}” show-confirm-bar=“{{false}}” name=“textarea” >

</textarea>

当我在真机(小米8)上测试时发现,用手机键盘输入文字,点击发送,需要清空页面的内容,后台日志打印,绑定的msg已经为空字符串,但页面仍然显示原来的内容。

  • 预期表现

  • 复现路径

  • 提供一个最简复现 Demo

1 回复
pingpeng
pingpeng1 楼5 年前

你好,现在还有这个问题么?