Commit 83a52c3d authored by ziyu's avatar ziyu

删除不必要的

parent 0634c638
......@@ -32,27 +32,7 @@ wepy.app({
}
});
wx.setStorageSync('onNetworkStatusChange', true);
// wx.checkSession({
// success () {
// console.log('已登录');
// // session_key 未过期,并且在本生命周期一直有效
// },
// fail () {
// // session_key 已经失效,需要重新执行登录流程
// wx.login({
// success (res) {
// if (res.code) {
// // 发起网络请求,告诉后端
// wx.setStorageSync('wxCode', res.code);
// } else {
// console.log('登录失败!' + res.errMsg);
// }
// }
// });
// }
// });
wx.onNetworkStatusChange((res) => {
console.log('onNetworkStatusChange', res.isConnected);
wx.setStorageSync('onNetworkStatusChange', res.isConnected);
});
},
......
......@@ -476,7 +476,6 @@
innerAudioContext.autoplay = true;
innerAudioContext.src = '/static/audio/supermarie.mp3';
innerAudioContext.onPlay(() => {
console.log('开始播放');
});
innerAudioContext.onError((res) => {
console.log(res.errMsg);
......@@ -620,9 +619,5 @@
'video-loading': '~@/components/custom/loading'
},
navigationStyle: "custom",
"navigateToMiniProgramAppIdList":[
"wx91d27dbf599dff74"
],
}
</config>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment