diff --git a/pages/index/index.js b/pages/index/index.js index 82f0ab5..abf5426 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -69,10 +69,12 @@ Page({ app.getLocation(); if (options.couponChannelId || options.orderId || options.id) { that.userLogin(options); - } else { - that.userLogin() } }, + onShow(){ + let that = this; + that.userLogin(); + }, checkuserstatus(options) { let that = this; Http.get({