- getPhoneNumber:fail privacy permission is not ?
问题:[图片] 基础库版本:3.0.0(之前都正常,今天就不正常了,3.0.1和3.0.2正常) wxml: <button open-type="getPhoneNumber|agreePrivacyAuthorization" bindgetphonenumber="Brushfacelogin" bindagreeprivacyauthorization="handleAgreePrivacyAuthorization">手机号授权</button> js: Page({ data:{ }, onLoad() { }, handleAgreePrivacyAuthorization() { console.log(2) }, Brushfacelogin (e) { console.log(1) } })
2023-09-14 - this.resolvePrivacyAuthorization is not function?
基础库版本:3.0.1 代码片段:https://developers.weixin.qq.com/s/fcd0vcmr7DLP project.config.json里的appid需要替换成自己的 点击页面“手机号授权”按钮就报“ this.resolvePrivacyAuthorization is not a function”? [图片] wxml: <button open-type="getPhoneNumber|agreePrivacyAuthorization" bindgetphonenumber="Brushfacelogin" bindagreeprivacyauthorization="handleAgreePrivacyAuthorization" >手机号授权</button> js: Page({ data:{ }, onLoad() { wx.onNeedPrivacyAuthorization((resolve, eventInfo) => { console.log('触发本次事件的接口是:' + eventInfo.referrer) this.resolvePrivacyAuthorization = resolve }) }, handleAgreePrivacyAuthorization() { console.log(2) this.resolvePrivacyAuthorization({ buttonId: 'agree-btn', event: 'agree' }) }, Brushfacelogin (e) { console.log(1) } })
2023-09-13 - webview安卓手机input加上multiple="multiple"就无效?
webview安卓手机input加上multiple="multiple"就无效 页面一进入先点击第一个和第二个无效,重新进入先点击第三个可以打开相机,在点第一个或第二个无效,此时第三个也无效了 第一个 <input type="file" accept="image/*" multiple="multiple" capture="camera" /> 第二个 <input type="file" accept="image/*" multiple="multiple"/> 第三个 <input type="file" accept="image/*" capture="camera"> [图片]
2022-06-10 - iPhone 12 用wx.navigateTo来跳转web-view嵌入的页面顶部会有白条
iPhone 12 用wx.navigateTo来跳转web-view嵌入的页面顶部这块会有白条 [图片]
2021-01-26