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

Commit

Permalink
fix: 修复修改新版登录接口后, 无法获取未读信息数的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
boxshadow committed May 12, 2018
1 parent d271715 commit 5e5fdd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/module/message/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import lstore from "@/plugins/lstore/lstore.js";
import getMessageUnameTxt from "@/util/getMessageUnameTxt";
export default {
GET_NEW_UNREAD_COUNT({ rootState, commit }) {
if (!rootState.CURRENTUSER || !rootState.CURRENTUSER.token) return;
if (!rootState.CURRENTUSER || !lstore.getData("H5_ACCESS_TOKEN")) return;
http
.get("/user/counts", {
validateStatus: status => status === 200
Expand Down

0 comments on commit 5e5fdd9

Please sign in to comment.