基础库 2.21.1,label 无法触发 button 的 tap 事件了?

微信问答 文章 2021-11-30 18:20 363 0 全屏看文

AI助手支持GPT4.0

基础库 2.21.1,label 无法触发 button 的 tap 事件了?Basic library 2.21.1, label can’t trigger the button’s tap event?

基础库 2.21.1,label 无法触发 button 的 tap 事件了?

以下代码在调试基础库为 2.21.0 以下代码可以正常触发。但是切换至 2.21.1 后,该事件无法触发。

请问这个特性有改动吗,目前我们生产上的小程序依赖了该特性,导致部分功能不可用,麻烦尽快处理下,谢谢。

<button id="button" bindtap="onTap"></button><label for="button">点击我</label>



复现代码:https://developers.weixin.qq.com/s/FSzwXcmo7ovF

The following code is 2.21.0 in the basic debugging library. The following code can be triggered normally. However, after switching to 2.21.1, this event cannot be triggered. Is there any change in this feature? At present, our small programs in production rely on this feature, resulting in some functions being unavailable. Please deal with it as soon as possible. Thank you< Button id = "button" bindtap = "OnTap" > < / button > < label for = "button" > click my < / label > to reproduce the code: https://developers.weixin.qq.com/s/FSzwXcmo7ovF

鍥炵瓟锛�

Lee:

急求,我也遇到了这个问题

安然、:

我们也影响到不少功能

旧崖。:

影响很大

耳朵。:

又在月底搞事情吗?这么基础的功能也能搞出问题…

-EOF-

AI助手支持GPT4.0