红米note 4X input value赋值不显示

发布于 8 年前作者 xwu14212 次浏览最后编辑 8 年前来自 issues

红米note 4X ,安卓7.0, MIUI10.3稳定版

给input标签的value赋值,不展示.结果打开调试模式就显示了,关了就又不显示了。。。

<view class=“hos_list” bindtap=“search1” data-key=“{{item.key_words}}”>

<input placeholder=“输入名称” placeholder-class=“placeholder” bindfocus=‘showHistory’ bindblur=‘onShowHistory’ bindinput=“inputKey” value=“{{key}}” confirm-type=‘search’ bindconfirm=‘search’></input>

j s:

search1: function (e) {

this.setData({

key: e.currentTarget.dataset.key

})

this.search()

},

1 回复
gangzhong
gangzhong1 楼6 年前

麻烦提供能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html