Bläddra i källkod

更改mantis链接地址并,更改外站跳转方式

hao lei 1 år sedan
förälder
incheckning
d130f025b3
2 ändrade filer med 6 tillägg och 6 borttagningar
  1. 3 3
      src/components/MyLayout/index.vue
  2. 3 3
      src/components/SearchBar/index.vue

+ 3 - 3
src/components/MyLayout/index.vue

@@ -42,13 +42,13 @@ export default {
       }
     },
     goMantis() {
-      window.location.href = "http://139.196.158.57:8080/mantis/#/dashboard";
+      window.open("http://139.196.158.57:8080/mantis_test/#/dashboard", "_blank");
     },
     goKpm() {
-      window.location.href = "http://106.14.237.165/kpm/#/list/kpm-list";
+      window.open("http://106.14.237.165/kpm/#/list/kpm-list", "_blank");
     },
     goAutoGo() {
-      window.location.href = "http://139.196.158.57/#/Overview";
+      window.open("http://139.196.158.57/#/Overview", "_blank");
     },
     goHome() {
       window.location.href = "/?m=8b934420_ZJUb_b6f9";

+ 3 - 3
src/components/SearchBar/index.vue

@@ -64,13 +64,13 @@ export default {
       }
     },
     goMantis() {
-      window.location.href = "http://139.196.158.57:8080/mantis/#/dashboard";
+      window.open("http://139.196.158.57:8080/mantis_test/#/dashboard", "_blank");
     },
     goKpm() {
-      window.location.href = "http://106.14.237.165/kpm/#/list/kpm-list";
+      window.open("http://106.14.237.165/kpm/#/list/kpm-list", "_blank");
     },
     goAutoGo() {
-      window.location.href = "http://139.196.158.57/#/Overview";
+      window.open("http://139.196.158.57/#/Overview", "_blank");
     },
     goHome() {
       window.location.href = "/?m=8b934420_ZJUb_b6f9";