Commit 9827513c by jscat

nyx-master:

fix a bug;
在退出matchDaily页面时候不进行"公屏"发言功能
parent 517953f1
// pages/key/matchDaily/matchDaily.js
// pages/key/matchDaily/matchDaily.js
......@@ -133,18 +133,6 @@ Page({
*/
onUnload: function () {
var _this = this;
let updateStatus = wx.getStorageSync('updateStatus');
if(updateStatus)
{
var score = JSON.stringify({
'cmd': 'onScore',
'uid': app.globalData.nyxCode == "" ? wx.getStorageSync('nyxCode'):app.globalData.nyxCode,
'msg': "完成每日一学,喜提" + _this.data.score + "分"
})
wx.setStorageSync('sendMsg', score);
_this.uploadDaily()
}
wx.setStorageSync('updateStatus', false);
},
/**
......
{
{
......@@ -18,7 +18,7 @@
"disablePlugins": [],
"outputPath": ""
},
"useCompilerModule": false,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false
},
"compileType": "miniprogram",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论