Browse Source

feat:pc登录后刷新页面

zhangsiya 11 months ago
parent
commit
a068ace5b5
1 changed files with 1 additions and 2 deletions
  1. 1 2
      jydocs-pc/src/views/Content.vue

+ 1 - 2
jydocs-pc/src/views/Content.vue

@@ -445,7 +445,6 @@ export default {
       }
       }
     },
     },
     loginCallback () {
     loginCallback () {
-      location.reload()
       this.islogin = true
       this.islogin = true
       this.adverse()
       this.adverse()
       this.tabs = recoveryPageData('jy-docs-search-tags-pc')
       this.tabs = recoveryPageData('jy-docs-search-tags-pc')
@@ -740,7 +739,7 @@ export default {
     shoucang () {
     shoucang () {
       if (!this.islogin) {
       if (!this.islogin) {
         try {
         try {
-          window.openLoginDig()
+          window.openLoginDig(false, 'reload')
         } catch (e) {
         } catch (e) {
           console.log(e)
           console.log(e)
         }
         }