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