【BUG】解決租戶id找不到的问题

pull/551/head
痴货 2024-09-09 16:29:40 +08:00
parent 2bcf725198
commit 0f0d2d3864
1 changed files with 3 additions and 0 deletions

View File

@ -265,6 +265,9 @@ const handleLogin = async (params) => {
const loginDataLoginForm = { ...loginData.loginForm }
loginDataLoginForm.captchaVerification = params.captchaVerification
const res = await LoginApi.login(loginDataLoginForm)
if(res.tenantId){
authUtil.setTenantId(res.tenantId)
}
if (!res) {
return
}