Kaynağa Gözat

Merge branch 'master' of http://62.234.61.92:3000/wjm/mec-cloud_IntelligentManufacturing_CRM

lph 1 yıl önce
ebeveyn
işleme
1bcf06fcf3
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  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() {