Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix: 微信登录后, 获取正确的token保存
Browse files Browse the repository at this point in the history
  • Loading branch information
boxshadow committed May 12, 2018
1 parent 100dc2b commit 9c561d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page/wechat/wechat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default {
this.$store.commit("SAVE_USER", user);
this.$store.dispatch("GET_UNREAD_COUNT");
this.$store.dispatch("GET_NEW_UNREAD_COUNT");
this.$lstore.setData("H5_ACCESS_TOKEN", `Bearer ${access_token}`);
this.$lstore.setData("H5_ACCESS_TOKEN", `Bearer ${token}`);
this.$store.commit("SAVE_CURRENTUSER", user);
});
})
Expand Down

0 comments on commit 9c561d2

Please sign in to comment.