From 0f838a4fd7d62b90a2ec1aa7a1524fe008de9243 Mon Sep 17 00:00:00 2001 From: xuyiming Date: Wed, 5 Aug 2020 18:38:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 0238e89..77747ce 100644 --- a/src/App.vue +++ b/src/App.vue @@ -16,9 +16,6 @@ export default { getCurrentUser() { this.$api.user.getNowUser().then(({ data }) => { if (data.success == 1) { - console.log("--- --- ---"); - console.log(data.data); - console.log("--- --- ---"); this.$store.commit("userInfofun", data.data); } else { console.log(data.errMsg); @@ -35,7 +32,7 @@ export default { }) .then(({ data }) => { if (data.success === 1) { - this.setUnreadMessageCount(data.data.total || 0); + this.$store.commit("setUnreadMessageCount", data.data.total || 0); } }); }, -- 2.26.0