diff --git a/src/pages/dashboard/workplace/announcement.tsx b/src/pages/dashboard/workplace/announcement.tsx index d06849c..37bc4f7 100644 --- a/src/pages/dashboard/workplace/announcement.tsx +++ b/src/pages/dashboard/workplace/announcement.tsx @@ -46,7 +46,7 @@ function Announcement() { {t['workplace.announcement']} - {t['workplace.seeMore']} + {t['workplace.seeMore']}
@@ -64,4 +64,4 @@ function Announcement() { ); } -export default Announcement; +export default Announcement; \ No newline at end of file diff --git a/src/pages/dashboard/workplace/docs.tsx b/src/pages/dashboard/workplace/docs.tsx index 972bde8..443643c 100644 --- a/src/pages/dashboard/workplace/docs.tsx +++ b/src/pages/dashboard/workplace/docs.tsx @@ -17,11 +17,11 @@ function QuickOperation() {
{t['workplace.docs']} - {t['workplace.seeMore']} + {t['workplace.seeMore']}
{Object.entries(links).map(([key, value]) => ( - + {t[`workplace.${key}`]} ))} @@ -30,4 +30,4 @@ function QuickOperation() { ); } -export default QuickOperation; +export default QuickOperation; \ No newline at end of file diff --git a/src/pages/dashboard/workplace/overview.tsx b/src/pages/dashboard/workplace/overview.tsx index 9fec2f9..6c3e7e9 100644 --- a/src/pages/dashboard/workplace/overview.tsx +++ b/src/pages/dashboard/workplace/overview.tsx @@ -145,7 +145,7 @@ function Overview() { ({t['workplace.1year']}) - {t['workplace.seeMore']} + {t['workplace.seeMore']}
diff --git a/src/pages/dashboard/workplace/popular-contents.tsx b/src/pages/dashboard/workplace/popular-contents.tsx index 3b9d33a..f0f8b46 100644 --- a/src/pages/dashboard/workplace/popular-contents.tsx +++ b/src/pages/dashboard/workplace/popular-contents.tsx @@ -84,7 +84,7 @@ function PopularContent() { {t['workplace.popularContents']} - {t['workplace.seeMore']} + {t['workplace.seeMore']} {t['workplace.shortcuts']} - {t['workplace.seeMore']} + {t['workplace.seeMore']}
{shortcuts.map((shortcut) => ( @@ -114,4 +114,4 @@ function Shortcuts() { ); } -export default Shortcuts; +export default Shortcuts; \ No newline at end of file diff --git a/src/pages/layout.tsx b/src/pages/layout.tsx index 0594d00..0cef5c2 100644 --- a/src/pages/layout.tsx +++ b/src/pages/layout.tsx @@ -11,7 +11,7 @@ import { IconExclamationCircle, IconUser, IconMenuFold, - IconMenuUnfold, + IconMenuUnfold } from '@arco-design/web-react/icon'; import { useSelector } from 'react-redux'; import { useRouter } from 'next/router'; @@ -146,8 +146,8 @@ function PageLayout({ children }: { children: ReactNode }) { menuMap.current.set(route.key, { menuItem: true }); return ( - - {titleDom} + + {titleDom} ); @@ -185,7 +185,7 @@ function PageLayout({ children }: { children: ReactNode }) {
diff --git a/src/pages/login/form.tsx b/src/pages/login/form.tsx index 3ff0f1a..6e32c80 100644 --- a/src/pages/login/form.tsx +++ b/src/pages/login/form.tsx @@ -111,7 +111,7 @@ export default function LoginForm() { {t['login.form.rememberPassword']} - {t['login.form.forgetPassword']} + {t['login.form.forgetPassword']}
@@ -69,7 +69,7 @@ function UserInfo() { {t['userInfo.title.news']} - {t['userInfo.btn.all']} + {t['userInfo.btn.all']} diff --git a/src/pages/user/setting/header.tsx b/src/pages/user/setting/header.tsx index e5134d6..327b416 100644 --- a/src/pages/user/setting/header.tsx +++ b/src/pages/user/setting/header.tsx @@ -81,7 +81,7 @@ export default function Info({ {t['userSetting.value.notVerified']} )} - + {t['userSetting.btn.edit']} @@ -98,7 +98,7 @@ export default function Info({ ) : ( {userInfo.phoneNumber} - + {t['userSetting.btn.edit']} diff --git a/src/pages/welcome/index.tsx b/src/pages/welcome/index.tsx index 4721084..8a7257e 100644 --- a/src/pages/welcome/index.tsx +++ b/src/pages/welcome/index.tsx @@ -50,12 +50,13 @@ export default function Welcome() { {t['welcome.link.material-pro']}
- + {t['welcome.link.material-all']}
@@ -63,4 +64,4 @@ export default function Welcome() { ); -} +} \ No newline at end of file