소스 검색

修复bug

wayne 6 년 전
부모
커밋
966bea7328
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      plugins/common.js

+ 1 - 0
plugins/common.js

@@ -26,6 +26,7 @@ Vue.mixin({
   },
   methods: {
     async needLogin() {
+      Vue.hasMessage = true
       const userInfo = await this.getUserInfo();
       if (!userInfo.nickname) {
         this.goLogin();