uni.setStorageSync('userInfo', res.data) helper.getListByUserId() that.$store.commit('login', res.data) // that.liangxinLogin() uni.switchTab({ url: '/pages/order/index' }); uni.hideLoading()