Browse Source

更新 默认货主

wzh 3 năm trước cách đây
mục cha
commit
11bc1c6d23
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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);
 }