Commit 305b78df by 梁建民

Merge branch 'master' of http://119.23.72.7/shiyu/icsalesProgram

parents 6ee28efc b70689b8
Showing with 3 additions and 3 deletions
......@@ -26,9 +26,9 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
if (judgeToken()) {
this.getData();
} else {
wx.removeStorageSync('homeToken')
this.getData();
if (!judgeToken()) {
wx.setStorageSync('homeToken', 1)
}
},
......
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 sign in to comment