Przeglądaj źródła

登录屏蔽其它工位

qinhb 8 miesięcy temu
rodzic
commit
090ddfe485
2 zmienionych plików z 5 dodań i 5 usunięć
  1. 1 0
      .gitignore
  2. 4 5
      src/views/login/index.vue

+ 1 - 0
.gitignore

@@ -18,3 +18,4 @@ docker/dist
 package-lock.json
 pnpm-lock.yaml
 stats.html
+/dist

+ 4 - 5
src/views/login/index.vue

@@ -301,13 +301,12 @@ function handleLogin() {
           userStore.user.proCode = loginData.value.proCode;
 
           // 捡选 装配 测试 维修站 预齐套
-          if (stationType == "5") {
+          /*if (stationType == "5") {
             router.replace({ name: "PrepareMain" });
-          } else {
+          } else {*/
             router.replace({ name: "ProcessMain" });
-          }
-        })
-        .catch(() => {
+         /* }*/
+        }).catch(() => {
           // getCaptcha();
 
           console.log("catch");