同问
部分苹果手机打开小程序白屏?开发环境中没有遇到,线上环境用户反馈,反馈的全都是苹果的用户。问题如下: [图片]
2020-03-06我也出现了这个问题[图片]
Expected updated data but get first ?最近突然出现Expected updated data but get first rendering data报错,没有具体位置信息,无法提供相关的代码片段,这个问题如何解决,测试过两个空白页跳转也会出现此问题
2019-09-12我也是 突然就出问题了, 感觉是编译出了问题, 组件的样式完全没有用了
真机预览样式错乱!出现什么BUG了么?本地开发预览样式错乱 [图片]
2019-04-01<form class='com_form_btn' bindsubmit="submit" report-submit='true' > <label for="btn_form"> <button id="btn_form" class='btn_form' form-type="submit"></button> <view > <slot></slot> </view> </label> </form> 试一下这样
遇到难以解决的bug,求大佬搭把手原因是这样的,公司消费小程序的用户发生日祝福,那么就需要一定的formId,我就是写了一个隐形的按钮,来触发表单提交事件. formId可以获取了,但是页面却无法跳转,这让我很难受 [图片]
2018-09-18我也遇到了,只有远程调试的时候会出现,现在知道是为什么吗?
开启远程调试时 经常报SDK:setStorageSync:fail这个错误APP-SERVICE-SDK:setStorageSync:fail Error: Failed To Send Sync;at App log function;at api request success callback function Error: APP-SERVICE-SDK:setStorageSync:fail Error: Failed To Send Sync at new t ([publib]:7:10135) at Oo ([publib]:8:6460) at Object.Wo.(anonymous function) [as setStorageSync] ([publib]:8:7826) at Object.([publib]:6:29338) at Function.([publib]:14:10718) at Object.([publib]:5:24761) at success (weapp:///app.js:46:20) at Function.function.a.(anonymous function) ([publib]:6:29081) at Object.success ([publib]:4:4154) at X.([publib]:6:24667) [代码]getOpenId: [代码][代码]function[代码] [代码]getOpenId(cb) {[代码][代码] [代码][代码]var[代码] [代码]that = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]wx.hideShareMenu();[代码][代码] [代码][代码]if[代码] [代码]([代码][代码]this[代码][代码].globalData.openId) {[代码][代码] [代码][代码]this[代码][代码].log([代码][代码]this[代码][代码].globalData.openId, [代码][代码]'缓存'[代码][代码]);[代码][代码] [代码][代码]cb([代码][代码]this[代码][代码].globalData.openId);[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]//调用登录接口[代码][代码] [代码][代码]wx.login({[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码]success(res) {[代码][代码] [代码][代码]var[代码] [代码]code = res.code;[代码][代码] [代码][代码]that.log(code, [代码][代码]'实时获取到的 code'[代码][代码]);[代码][代码] [代码][代码]//通过code换取openid[代码][代码] [代码][代码]wx.request({[代码][代码] [代码][代码]url: that.globalData.remoteUrl + [代码][代码]'/api/login'[代码][代码],[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码]_ajax: 1,[代码][代码] [代码][代码]code: code[代码][代码] [代码][代码]},[代码][代码] [代码][代码]method: [代码][代码]'POST'[代码][代码],[代码][代码] [代码][代码]header: {},[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码]success(res) {[代码][代码] [代码][代码]that.log([代码][代码]'getOpenid'[代码][代码], res);[代码][代码] [代码][代码]if[代码] [代码](res.data.code == 1) {[代码][代码] [代码][代码]that.globalData.openId = res.data.data.xcxopenid;[代码][代码] [代码][代码]wx.setStorageSync([代码][代码]'openId'[代码][代码], res.data.data.xcxopenid);//报错代码位置[代码][代码] [代码][代码]if[代码] [代码](res.data.data.token) {[代码][代码] [代码][代码]wx.setStorageSync([代码][代码]'token'[代码][代码], res.data.data.token);[代码][代码] [代码][代码]that.globalData.token = res.data.data.token;[代码][代码] [代码][代码]}[代码][代码] [代码][代码]that.log(that.globalData.openId, [代码][代码]'实时获取到的 openid'[代码][代码]);[代码][代码] [代码][代码]cb(that.globalData.openId);[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]cb();[代码][代码] [代码][代码]}[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码]fail(res) {[代码][代码] [代码][代码]that.wlanchaoshi(res);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]},[代码]
2018-08-15