|
@ -138,7 +138,7 @@
|
|
|
import TwoStepCaptcha from '@/components/tools/TwoStepCaptcha'
|
|
|
import { mapActions } from 'vuex'
|
|
|
import { timeFix } from '@/utils/util'
|
|
|
import { tenantListTenants } from '@/api/modular/tenant/tenantManage'
|
|
|
//import { tenantListTenants } from '@/api/modular/tenant/tenantManage'
|
|
|
import { getTenantOpen,getSmsCaptcha, twoStepCode } from '@/api/modular/system/loginManage'
|
|
|
|
|
|
export default {
|
|
@ -188,11 +188,12 @@
|
|
|
getTenantOpen().then((res)=>{
|
|
|
if(res.success){
|
|
|
this.tenantOpen = res.data
|
|
|
if(res.data){
|
|
|
//加入多租户模块后此处需要放开
|
|
|
/*if(res.data){
|
|
|
tenantListTenants().then((res)=>{
|
|
|
this.tenantsList = res.data
|
|
|
})
|
|
|
}
|
|
|
}*/
|
|
|
}
|
|
|
})
|
|
|
},
|