<inputname="search"type='text'confirm-type="search"bindconfirm="bindconfirm"focus='{{focus}}'bindinput='bindinput'> // 点击键盘上的搜索bindconfirm:function(e){varthat=this;vardiscountName=e.detail.value['search - input'] ?e.detail.value['search - input'] : e.detail.valueconsole.log('e....
// 点击键盘上的搜索 bindconfirm:function(e){ var that=this; var discountName=e.detail.value['search - input'] ?e.detail.value['search - input'] : e.detail.value console.log('e.detail.value', discountName) }, ©著作权归作者所有,转载或内容合作请联系作者 2人点赞 小程序 更多精彩...
<inputname="search"type='text'confirm-type="search"bindconfirm="bindconfirm"focus='{{focus}}'bindinput='bindinput'> // 点击键盘上的搜索bindconfirm:function(e){varthat=this;vardiscountName=e.detail.value['search - input']?e.detail.value['search - input']:e.detail.value console.log('e.det...