- input 和 textarea 的 input 事件,e.timeStamp 的拼写不对?
上一个帖子没有后续回复了,重新发一次请求回复 https://developers.weixin.qq.com/community/develop/doc/000e40d139c6502eb3000a07161800 我的回复:你注意看输出里黄色那一行,对于input事件大写S是空的,小写s才有值。而其他事件都是大写有值小写没有。 ==============原始内容============== 根据文档(https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html#timeStamp),事件中的时间戳应当为 timeStamp。而在input 和 textarea 的 input 事件中,却使用了 timestamp (注意s变成了小写)。 复现链接: https://developers.weixin.qq.com/s/PevNWNm57qJ7 复现方法: 打开上面链接后,在页面中的 input 和 textarea 进行输入,会发现 console 里输出的事件信息:只有 input 事件有大小写问题 类似问题: https://developers.weixin.qq.com/community/develop/doc/d4a2a59586831ae4deb618789a3b1c3c?highLine=timestamp
2023-07-31 - input 和 textarea 的 input 事件,e.timeStamp 的拼写不对?
根据文档(https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html#timeStamp),事件中的时间戳应当为 timeStamp。而在input 和 textarea 的 input 事件中,却使用了 timestamp (注意s变成了小写)。 复现链接: https://developers.weixin.qq.com/s/PevNWNm57qJ7 复现方法: 打开上面链接后,在页面中的 input 和 textarea 进行输入,会发现 console 里输出的事件信息:只有 input 事件有大小写问题 类似问题: https://developers.weixin.qq.com/community/develop/doc/d4a2a59586831ae4deb618789a3b1c3c?highLine=timestamp
2023-07-18