lrf402788946 5 years ago
parent
commit
5c634ad7a1

+ 1 - 1
src/layout/index/law.vue

@@ -62,7 +62,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/detail?id=${item.id}` });

+ 2 - 1
src/layout/index/noticeNews.vue

@@ -66,7 +66,8 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        // window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/detail?id=${item.id}` });

+ 1 - 1
src/layout/index/recruit.vue

@@ -124,7 +124,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/detail?id=${item.id}` });

+ 1 - 1
src/layout/index/zhidao.vue

@@ -64,7 +64,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/detail?id=${item.id}` });

+ 1 - 1
src/layout/list/mainRight.vue

@@ -60,7 +60,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/memberDetail?id=${item.id}` });

+ 1 - 1
src/layout/list/newsInfo.vue

@@ -65,7 +65,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         if (route.includes('member')) this.$router.push({ path: '/memberDetail', query: { id: item.id } });

+ 1 - 1
src/layout/member/dangjian.vue

@@ -141,7 +141,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/memberDetail?id=${item.id}` });

+ 1 - 1
src/layout/member/gaoceng.vue

@@ -88,7 +88,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/memberDetail?id=${item.id}` });

+ 1 - 1
src/layout/member/photo.vue

@@ -78,7 +78,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/memberDetail?id=${item.id}` });

+ 1 - 1
src/layout/member/xuexi.vue

@@ -134,7 +134,7 @@ export default {
     },
     turnTo(item) {
       if (item.url !== undefined) {
-        window.location.href = item.url;
+        window.open(item.url);
       } else {
         let route = this.$route.path;
         this.$router.push({ path: `/memberDetail?id=${item.id}` });