xinfeng 5 년 전
부모
커밋
d854ad39a6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/header.vue

+ 1 - 1
components/header.vue

@@ -299,6 +299,7 @@ export default {
     if (this.myInfo && this.myInfo.nickname) {
       this.getMessageCount();
     }
+    this.loginUrl = this.baseUrl+'/?loginbox=show&next=' + encodeURIComponent(location.href)
   },
   methods: {
     async clickQuit() {
@@ -324,7 +325,6 @@ export default {
   created() {
     this.baseUrl = this.$store.state.domainConfig.siteUrl;
     this.jishuBaseUrl = this.$store.state.domainConfig.jishuinUrl;
-    this.loginUrl = this.baseUrl+'/?loginbox=show&next=' + encodeURIComponent(location.href)
   }
 };
 </script>