Explorar o código

更新 默认货主

wzh %!s(int64=3) %!d(string=hai) anos
pai
achega
11bc1c6d23
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/views/index/Login.vue

+ 3 - 1
src/views/index/Login.vue

@@ -265,7 +265,9 @@ function getLevel2domain() {
     }
     currentCompanyLevelTwo.value = baseurl.substring(plenth, index2);
   }
-  // currentCompanyLevelTwo.value = "dhly";
+  if (!cargoOwners.value[currentCompanyLevelTwo.value]?.cargoOwnerId) {
+    currentCompanyLevelTwo.value = "wuchan";
+  }
   console.log(currentCompanyLevelTwo.value);
 }