Explorar el Código

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

lph hace 1 año
padre
commit
a2f20e632e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;