zhaojs
2023-06-28 6b3ca5df69263e90780348d8b57ea858dca49da5
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)
            })