diff --git a/src/components/page/Login.vue b/src/components/page/Login.vue index fb8de77..37f43c7 100644 --- a/src/components/page/Login.vue +++ b/src/components/page/Login.vue @@ -95,6 +95,7 @@ export default { this.userId = this.schoolList[0].userId this.studentId = this.schoolList[0].studentId this.roleId = 4 + this.$store.commit("tokenData", {loginToken: res.message.loginToken}) let data = { roleId: 4,