小程序
小游戏
企业微信
微信支付
扫描小程序码分享
一系列input组件,当对单个input设置focus为true,其他为focus时,android版本会崩溃……有谁碰到这个情况吗?
ios版本完全没问题!
如果这是我写法错误,为何两个版本效果不一样??
3 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
这个问题后来怎么样了?
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
items.forEach(function(item,index){
item.focus=index==activeIndex;
})
模板中套用时,遍历
<input class="input" type="digit" value="{{input}}" bindinput="bindInput" focus="{{focus}}" maxlength="18"/>
只要弹框键盘就闪退
楼主联系下我看看
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
这个问题后来怎么样了?
items.forEach(function(item,index){
item.focus=index==activeIndex;
})
模板中套用时,遍历
<input class="input" type="digit" value="{{input}}" bindinput="bindInput" focus="{{focus}}" maxlength="18"/>
只要弹框键盘就闪退
楼主联系下我看看