-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug:wxSearchBlur与其他事件设置数据时的冲突 #3
Comments
使用手机:用了1年的小米4 |
好的 谢谢反馈 |
后来解决了吗? |
引用的时候将:
改成: wxSearchBlur: function(e){
WxSearch.wxSearchAddHisKey(this);// 添加历史搜索记录
this.GetKeyList(this.data.wxSearchData.value);// 后端交互
}, |
呵呵,如上处理以后,模拟器不行了。 |
不要设置wxSearchBlur处理函数 |
GetKeyList 这个函数没发现,另外修改后无法运行
GetKeyList 这个函数没发现,另外修改后无法运行 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
现象:
在模拟器上正常,在真机上发现点击搜索历史项时搜索栏内容并不改变,或者改变后瞬间变回去。
初步猜想:
当wxSearchKeyTap触发后几乎瞬间,wxSearchBlur触发。后者有设置Data的操作,可能这里的Data是旧的。
The text was updated successfully, but these errors were encountered: