pull/48/head
smallbun 1 year ago
parent 26b9a76484
commit aed55d4cdb

@ -361,7 +361,7 @@ const IdentityProvider = () => {
const { styles } = useStyle(prefixCls);
useMount(async () => {
if (!type || !(type.toUpperCase() in IdentityProviderCategory)) {
if (!type || !IdentityProviderCategory[type]) {
setTabActiveKey(IdentityProviderCategory.social);
history.push({
pathname: location.pathname,

Loading…
Cancel
Save