11wqe1 1 týždeň pred
rodič
commit
f3c4a902ad

+ 1 - 1
src/components/pages/liyuan/CourseCon.vue

@@ -115,7 +115,7 @@ export default {
         // { title: '工作空间', icon: require('../../../assets/icon/liyuan/ketangguancha.svg'), type: 3, to:`?userid=${this.$route.query.userid}&oid=${this.$route.query.oid}&org=${this.$route.query.org}&role=${this.$route.query.role}&tab=1&gotype=1` },
         { title: '知识库', icon: require('../../../assets/icon/liyuan/zhinengbiaodan.svg'), type:3, to: `?userid=${this.$route.query.userid}&oid=${this.$route.query.oid}&org=${this.$route.query.org}&role=${this.$route.query.role}&tab=2&gotype=1`  },
         { title: '协同建构', icon: require('../../../assets/icon/liyuan/zhinengbiaodan.svg'), type: 1, to: "/synergyCourse" },
-        { title: 'AI通识课', icon: require('../../../assets/icon/liyuan/ketangguancha.svg'), type: 6, to: `/ai.html?userid=${this.$route.query.userid}` },
+        { title: 'AI通识课', icon: require('../../../assets/icon/liyuan/ketangguancha.svg'), type: 6, to: `/ai.html?userid=${this.$route.query.userid}&gotype=CourseCon` },
       ]
     }
   },

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

@@ -91,12 +91,6 @@ export default {
                 // 直接传的地址不用区分beta与正式
                 window.location.href = `${this.to}`;
             } else if (this.type == 6) { 
-                sessionStorage.setItem('gotype2', this.$route.path);
-                try {
-                    window.topU.gotype2 = this.$route.path
-                } catch (error) {
-                    console.log(error);
-                }
                 let con = 'https://cloud.cocorobo.cn'
                 console.log( `${con}${this.to}`);
                 window.location.href = `${con}${this.to}`;