We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
用onChooseavatar写事件好像失效。
需要支持微信小程序 open-type 头像获取:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html 支持chooseAvatar回调
The text was updated successfully, but these errors were encountered:
rax官方未更新,我是用下面的方法临时解决的。 手动在小程序编译后文件(build/wechat-miniprogram)根目录 render.js\root.wxml 这两个文件添加以下代码。 root.wxml 文件里搜索 onButton,找到对应 DOM 添加如下属性 bindchooseavatar="onButtonChooseAvatar" render.js 文件里搜索 onButton,找到对应数组里添加以下对象 { name: 'onButtonChooseAvatar', eventName: 'chooseAvatar' }
Sorry, something went wrong.
No branches or pull requests
用onChooseavatar写事件好像失效。
需要支持微信小程序 open-type 头像获取:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
支持chooseAvatar回调
The text was updated successfully, but these errors were encountered: