Bladeren bron

feat:补充提交

韩帛霖 1 jaar geleden
bovenliggende
commit
0f26c58c52
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      zkqy-ui/src/views/login.vue

+ 3 - 3
zkqy-ui/src/views/login.vue

@@ -162,7 +162,7 @@ export default {
         isTenantExist({tenantCode: tenantCode}).then(res => {
           if (res == undefined) {
             this.$message.warning("请访问正确地址!")
-            this.$router.push({path: "/404"})
+            this.$router.push({path: "/401"})
           } else if (res.data?.tenantId) { // 判断当前编号是否存在库中
             this.tenantId = res.data.tenantId;
             this.loginForm.tenantID = this.tenantId;
@@ -175,11 +175,11 @@ export default {
             this.getCookie();
           } else {
             // 当前访问链接中的租户编号不存在
-            this.$router.push({path: "/404"})
+            this.$router.push({path: "/401"})
           }
         })
       } else {
-        this.$router.push({path: "/404"})
+        this.$router.push({path: "/401"})
       }
     },
     setConfig() {