11wqe1 1 月之前
父節點
當前提交
2871c2f63f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/components/pages/liyuan/components/card.vue

+ 2 - 1
src/components/pages/liyuan/components/card.vue

@@ -35,8 +35,9 @@ export default {
     },
     methods: {
         goTo() {
+            sessionStorage.setItem('gotype', this.$route.path);
+
             if (this.type == 1) {
-                sessionStorage.setItem('gotype', this.$route.path);
                 this.$router.push({ path: this.to, query: { userid: this.userid, oid: this.oid, org: this.org, role: this.role,tType: this.tType, gotype: 1 } })
             }else if (this.type == 2) {
                 let con = this.betaL =='beta'? 'https://beta.cloud.cocorobo.cn' : 'https://cloud.cocorobo.cn'