diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 556de8d..77dd96b 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -48,13 +48,15 @@ const actions = { }, userInfo) { const { token, - tp + tp, + loginId } = userInfo return new Promise((resolve, reject) => { loginOss({ token: token, - tp: tp + tp: tp, + loginId: loginId }).then(response => { //console.log(response) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 29e9de6..8b83ab5 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -93,7 +93,8 @@ this.loading = true this.$store.dispatch('user/loginskip', { token: query.token, - tp: query.tp + tp: query.tp, + loginId: query.loginId }).then(() => { this.$router.push({ path: "/"