基础库2.21.1下label组件无法触发button对应的onAppShareMessage函数

微信问答 文章 2021-11-30 19:40 384 0 全屏看文

AI助手支持GPT4.0

基础库2.21.1下label组件无法触发button对应的onAppShareMessage函数The label component under the base library 2.21.1 cannot trigger the onAppShareMessage function corresponding to the button

基础库2.21.1下label组件无法触发button对应的onAppShareMessage函数
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug label组件 微信iOS客户端 8.0.16 2.21.1
<button id='share' open-type="share" plain='true'></button><label for='share' class="share_list_item_img">  <image class="share_list_item_img" src="{{item.icon}}"></image></label>

代码如上,基础库版本2.21.1下label组件无法触发open-type为share的button对应的onAppShareMessage生命周期函数,开发者工具和手机都不行。开发者工具设置调试基础库为2.21.0之后正常触发,推送2.21.0基础库到手机上,手机也正常。现在基础库有灰度到2.21.1的手机用户,点击分享按钮都不能分享了,请问这个问题什么时候能解决?

Framework type problem type API / component name terminal type wechat version basic library version applet bug label component wechat IOS client 8.0.16 2.21.1 < button id ='share 'open type = "share" plain ='true' > < / button > < label for ='share 'class = "share_list_item_img" > < image class = "share_list_item_img" SRC = "{item. Icon}" > < / Image > < / label > the code is as above, Under the basic library version 2.21.1, the label component cannot trigger the onappsharemessage life cycle function corresponding to the button with open type share, neither developer tools nor mobile phones. After the developer tool sets the debugging basic library to 2.21.0, it is triggered normally. Push the 2.21.0 basic library to the mobile phone, and the mobile phone is also normal. Now there are mobile phone users with grayscale to 2.21.1 in the basic library. They can't share by clicking the share button. When can this problem be solved?

鍥炵瓟锛�

社区技术运营专员-Jahozheng:

问题已复现,我们会尽快进行修复。

旧崖。:

我这边也出现了这个问题

风禾:

image标签直接写在button里就行了

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
刚买的域名今天突然在微信打了一下就禁止访问了,要怎么办?
开启草稿箱新功能后, 无法获取已发布文章列表
uniform_send发送40003?小程序和公众号是绑定的。
小程序注册好没来得及用,现在被封禁了,我要怎么办?
在同一个页面里怎么渲染出多个不同的倒计时器?
随便看看
小程序测试号解绑之后,扫一扫小程序登录又回来了 2101
微信公众号openid? 2347
微信开放平台跟公众平台有什么区别? 3608
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4799
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048