Zimo пре 2 месеци
родитељ
комит
00cdb30064
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      src/components/home/CardItem.vue

+ 4 - 4
src/components/home/CardItem.vue

@@ -237,12 +237,12 @@ const handleView = async (item: Item) => {
   if (item.label === "设备管理系统 (PMS)") {
     if (userStore.getUser.username && getAccessToken()) {
       window.open(
-        "http://localhost:8080/portalLogin?username=" +
+        "https://iot.deepoil.cc/portalLogin?username=" +
           userStore.getUser.username,
         "_blank"
       );
     } else {
-      window.open("http://localhost:8080", "_blank");
+      window.open("https://iot.deepoil.cc", "_blank");
     }
   }
 
@@ -258,14 +258,14 @@ const handleView = async (item: Item) => {
     const extraParam = "source=zhly";
     if (userStore.getUser.username && getAccessToken()) {
       window.open(
-        "http://localhost:8080/portalLogin?username=" +
+        "https://iot.deepoil.cc/portalLogin?username=" +
           userStore.getUser.username +
           "&" +
           extraParam,
         "_blank"
       );
     } else {
-      window.open("http://localhost:8080?" + extraParam, "_blank");
+      window.open("https://iot.deepoil.cc?" + extraParam, "_blank");
     }
   }
 };