- app.onError : "Yn.env.USER_DATA_PATH"
最近在小程序app.js里添加了onError报错上报,发现 [代码] [代码] [代码]appServiceSDKScriptError undefined is not an object (evaluating [代码][代码]'Yn.env.USER_DATA_PATH'[代码][代码]) emit C global code[代码] [代码] [代码] 和 [代码] [代码] [代码]appServiceSDKScriptError undefined is not an object (evaluating [代码][代码]'Yn.env.USER_DATA_PATH'[代码][代码]) T i onError [native code] emit emit _onNativeTimer global code[代码] [代码] [代码] 而且在短时间里不断触发onError ps : 忘记上报systemInfo了
2018-09-10 - camera组件在iphoneX上有黑边
camera组件设置全屏,在iphoneX上下有黑边,iphone6上正常[图片]
2018-05-30 - onShareAppMessage 处理多个顺序异步请求能且只能执行一个
[代码]onShareAppMessage() {[代码][代码] [代码][代码]// 生成带场景值的小程序码[代码][代码] [代码][代码]entry.generationMiniProgramCode(path, JSON.stringify(param), result => {[代码][代码] [代码][代码]let o = {[代码][代码] [代码][代码]title: [代码][代码]'VIP微课,音乐人的在线大学'[代码][代码],[代码][代码] [代码][代码]// path: path + '?scene=' + result.scene,[代码][代码] [代码][代码]success(res) {[代码][代码] [代码][代码]console.log([代码][代码]'分享success'[代码][代码])[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]// 记录用户分享行为[代码][代码] [代码][代码]entry.postUserShare(path, result.scene, shareResult => {[代码][代码] [代码][代码]wx.showToast({[代码][代码] [代码][代码]title: [代码][代码]'分享成功'[代码][代码],[代码][代码] [代码][代码]icon: [代码][代码]'none'[代码][代码],[代码][代码] [代码][代码]})[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail(res) {[代码][代码] [代码][代码]console.log([代码][代码]'fail'[代码][代码])[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]return[代码] [代码]o[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码]
2018-05-16