lipenghui преди 2 месеца
родител
ревизия
3d38d06a8e
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      src/views/Login/components/LoginForm.vue
  2. 1 0
      src/views/pms/dingding.vue

+ 1 - 0
src/views/Login/components/LoginForm.vue

@@ -221,6 +221,7 @@ const getCode = async () => {
 const getTenantId = async () => {
   if (loginData.tenantEnable === 'true') {
     const res = await LoginApi.getTenantIdByName(loginData.loginForm.tenantName)
+    debugger
     authUtil.setTenantId(res)
   }
 }

+ 1 - 0
src/views/pms/dingding.vue

@@ -71,6 +71,7 @@ onMounted(async () => {
     //   setTimeout(clickA,1000)
     // })
   } else if (isValidType) {
+    authUtil.setTenantId(1)
     const res = await LoginApi.simpleLogin(userId)
     if (!res) {
       return