Closed b2nil closed 3 years ago
be04232 虽然修复了字数统计重复的问题,但是由于 Taro
的 Textarea
组件不支持支付宝 textarea
组件的 show-count
属性, 所以字数统计不能通过设置 :count="false"
直接关闭, 需要手动修改编译后的 base.axml
:
<template name="tmpl_0_textarea_focus">
和 <template name="tmpl_0_textarea_blur">
基础模板下的 textarea
节点中添加show-count="{{i.showCount}}"
编译为 Alipay 小程序时, AtTextArea 在
count
属性为true
时, 存在字数统计重复渲染,count
属性为false
时, 仍然会出现字数统计。