zhaojs
2023-06-30 ba3d748f9eb65a66fca9bd74fc7796b90a0a70ae
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)
            })