Bladeren bron

修改荔园跳转课程中心判断

11wqe1 1 maand geleden
bovenliggende
commit
a406e2a0fc
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3 0
      src/components/pages/liyuan/components/card.vue

+ 3 - 0
src/components/pages/liyuan/components/card.vue

@@ -80,6 +80,9 @@ export default {
                 window.location.href = `${con}${this.to}`;
             }else if (this.type == 4) { 
                 //学生端
+                // 本地存储gotype
+                sessionStorage.setItem('gotype', this.$route.path);
+
                 let con = this.betaL =='beta'? 'https://beta.pbl.cocorobo.cn' : 'https://pbl.cocorobo.cn'
                 console.log( `${con}${this.to}`);
                 window.location.href = `${con}${this.to}`;