Browse Source

fix: wrong note (#9676)

pull/9703/head
kalykun 4 years ago
committed by GitHub
parent
commit
84883f5650
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app.tsx

2
src/app.tsx

@ -35,7 +35,7 @@ export async function getInitialState(): Promise<{
} }
return undefined; return undefined;
}; };
// 如果是登录页面,执行 // 如果是登录页面,执行
if (history.location.pathname !== loginPath) { if (history.location.pathname !== loginPath) {
const currentUser = await fetchUserInfo(); const currentUser = await fetchUserInfo();
return { return {

Loading…
Cancel
Save