yangc 7 years ago
parent
commit
bd4732c335
1 changed files with 5 additions and 1 deletions
  1. 5 1
      components/applyPurchase/ApplyInfo.vue

+ 5 - 1
components/applyPurchase/ApplyInfo.vue

@@ -542,7 +542,11 @@
         }
       },
       setLinkBoxIndex: function (index) {
-        this.linkBoxIndex = index
+        if (!this.user.logged) {
+          this.$router.push('/auth/login?returnUrl=' + window.location.href)
+        } else {
+          this.linkBoxIndex = index
+        }
       }
     }
   }