uniapp/pages/login/setInviteCode.vue
@@ -150,7 +150,10 @@ this.$u.api.getUserInfo({}).then(e => { console.log(e) util.setCache('userInfo', e.data.userinfo); if (e.data.userinfo.isPwd == 'N') { uni.switchTab({ url: '../index/index' }) /* if (e.data.userinfo.isPwd == 'N') { uni.redirectTo({ url: './setPass' }) @@ -158,7 +161,7 @@ uni.switchTab({ url: '../index/index' }) } }*/ }).catch(function (err) { console.log(err) })