|
|
|
@@ -140,6 +140,15 @@ Page({ |
|
|
|
console.log(options, 'check'); |
|
|
|
let that = this; |
|
|
|
|
|
|
|
const isCancel = wx.getStorageSync('isCancel') |
|
|
|
if (isCancel === '1') { |
|
|
|
// 主页 |
|
|
|
wx.switchTab({ |
|
|
|
url: app.globalData.goHomeUrl |
|
|
|
}) |
|
|
|
wx.setStorageSync('isCancel', '0') |
|
|
|
} |
|
|
|
|
|
|
|
Http.get({ |
|
|
|
url: config.api.checkUserStatus, |
|
|
|
data: { |
|
|
|
|