From d63fcb4023c4a5e7179042a396cad9c715da9c26 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 9 Jun 2021 18:44:44 +0800 Subject: [PATCH] login --- src/components/page/Login.vue | 1 + 1 file changed, 1 insertion(+) 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,