pwd1.on("keyup",function(evt){
var which = Zepto.trim((evt.which+""));
console.info("which="+which+" "+typeof which);
});
正在同步/pages/xuntingtong/xuntingtong_recharge.html文件...
108 KB/s (11449 bytes in 0.103s)
which=0 string at pages/xuntingtong/xuntingtong_recharge.html:245
which=0 string at pages/xuntingtong/xuntingtong_recharge.html:266
which=0 string at pages/xuntingtong/xuntingtong_recharge.html:287
which=0 string at pages/xuntingtong/xuntingtong_recharge.html:308
which=0 string at pages/xuntingtong/xuntingtong_recharge.html:329
which=0 string at pages/xuntingtong/xuntingtong_recharge.html:350
我按了很多键位都是输出键值为0,而且打印console.info("evt="+JSON.stringify(evt))抛异常:
'KeyboardEvent.keyLocation'' is deprecated. Please use 'KeyboardEvent.location' instead.
Uncaught TypeError: Converting circular structure to JSON at pages/xuntingtong/xuntingtong_recharge.html:245
2 个回复
失落的人形天使 (作者)
IOS机器上一切正常
Monokeros
这个问题现在依然存在,不知道解决没有?