onShow
小程序第一次启动home 页面,数据加载成功 onshow 方法没走
onShow: function() {
var that = this;
wx.onUserCaptureScreen(function(res) {
var screenshotlog = wx.getStorageSync(“screenshotlog”)
console.log("======================onUserCaptureScreen", screenshotlog + “========”);
if (screenshotlog) {
that.post();
}
});
},
日志没有打印出来