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