|
|
@ -101,7 +101,7 @@ |
|
|
|
import { useDesign } from '/@/hooks/web/useDesign'; |
|
|
|
import { useDesign } from '/@/hooks/web/useDesign'; |
|
|
|
import { useAppInject } from '/@/hooks/web/useAppInject'; |
|
|
|
import { useAppInject } from '/@/hooks/web/useAppInject'; |
|
|
|
import { useRouter } from 'vue-router'; |
|
|
|
import { useRouter } from 'vue-router'; |
|
|
|
import { getDataByDictType } from '/@/api/platform/system/controller/dictdata'; |
|
|
|
import { anonymousGetDictType } from '/@/api/platform/system/controller/dictdata'; |
|
|
|
|
|
|
|
|
|
|
|
const { currentRoute, replace } = useRouter(); |
|
|
|
const { currentRoute, replace } = useRouter(); |
|
|
|
const { params, query } = unref(currentRoute); |
|
|
|
const { params, query } = unref(currentRoute); |
|
|
@ -124,7 +124,7 @@ |
|
|
|
const { getIsMobile } = useAppInject(); |
|
|
|
const { getIsMobile } = useAppInject(); |
|
|
|
|
|
|
|
|
|
|
|
onMounted(async () => { |
|
|
|
onMounted(async () => { |
|
|
|
formData.identityProviderDictData = await getDataByDictType({ type: 'identityProvider', tenantId: formData.tenantId }); |
|
|
|
formData.identityProviderDictData = await anonymousGetDictType({ type: 'identityProvider', tenantId: formData.tenantId }); |
|
|
|
// 设置默认勾选 |
|
|
|
// 设置默认勾选 |
|
|
|
if(formData.identityProviderDictData[0]) { |
|
|
|
if(formData.identityProviderDictData[0]) { |
|
|
|
formData.identityProvider = formData.identityProviderDictData[0]?.value; |
|
|
|
formData.identityProvider = formData.identityProviderDictData[0]?.value; |
|
|
|