Browse Source

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

lph 1 year ago
parent
commit
a2f20e632e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      zkqy-ui/src/views/login.vue

+ 2 - 0
zkqy-ui/src/views/login.vue

@@ -149,6 +149,8 @@ export default {
       if (tenantCode != null) {
         // 得到tenantId 查询裤中是否存在该租户
         isTenantExist({tenantCode: tenantCode}).then(res => {
+
+          if (res == undefined) this.$router.push({path: "/404"})
           if (res.data?.tenantId) { // 判断当前编号是否存在库中
 
             this.tenantId = res.data.tenantId;