瀏覽代碼

更新 默认货主

wzh 3 年之前
父節點
當前提交
11bc1c6d23
共有 1 個文件被更改,包括 3 次插入1 次删除
  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);
 }