mirror of https://gitee.com/topiam/eiam
⚡ 优化代码
parent
bfbc8f9cbb
commit
2bc10c9cb9
|
@ -68,7 +68,7 @@ export async function getInitialState(): Promise<{
|
||||||
/**
|
/**
|
||||||
* 控制台打印
|
* 控制台打印
|
||||||
*/
|
*/
|
||||||
console.log('%c欢迎使用 TopIAM 企业数字身份管控平台', 'font-size: 24px;');
|
console.log('%c欢迎使用 TOPIAM 企业数字身份管控平台', 'font-size: 24px;');
|
||||||
return {
|
return {
|
||||||
fetchUserInfo,
|
fetchUserInfo,
|
||||||
currentUser: isLoginPath() ? undefined : await fetchUserInfo(),
|
currentUser: isLoginPath() ? undefined : await fetchUserInfo(),
|
||||||
|
|
|
@ -121,7 +121,7 @@ const Welcome: React.FC = () => {
|
||||||
color: '#1A1A1A',
|
color: '#1A1A1A',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
欢迎使用 TopIAM 企业数字身份管控平台
|
欢迎使用 TOPIAM 企业数字身份管控平台
|
||||||
</div>
|
</div>
|
||||||
<p
|
<p
|
||||||
style={{
|
style={{
|
||||||
|
|
|
@ -24,7 +24,7 @@ const Workplace: FC = () => {
|
||||||
return (
|
return (
|
||||||
<PageContainer>
|
<PageContainer>
|
||||||
<Card>
|
<Card>
|
||||||
<Alert banner description={'欢迎使用 TopIAM 企业数字身份管控平台'} type={'success'} />
|
<Alert banner description={'欢迎使用 TOPIAM 企业数字身份管控平台'} type={'success'} />
|
||||||
</Card>
|
</Card>
|
||||||
</PageContainer>
|
</PageContainer>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue