src/pages/login/index.vue @@ -58,7 +58,7 @@ ).then(res => { userStore.setUserInfo(res.data) uni.switchTab({ url: '/' url: '/pages/user/index' }) }) }