https://developers.weixin.qq.com/s/mIlO14mI7lin 就在官方案例改了一下
<textarea auto-focus="true"
selection-start="1" selection-end="3" style="height: 3em"
bindinput='aa'/>
aa:function(e){
console.log(e.detail)
}
真机调试没作用,到底有什么用?社区里也找不到可复现的成功案例,哪个大佬能教教我??
https://developers.weixin.qq.com/s/mIlO14mI7lin 就在官方案例改了一下
<textarea auto-focus="true"
selection-start="1" selection-end="3" style="height: 3em"
bindinput='aa'/>
aa:function(e){
console.log(e.detail)
}
真机调试没作用,到底有什么用?社区里也找不到可复现的成功案例,哪个大佬能教教我??
1 个回答
你好,需要先给textarea的value一个值。