Commit cc9f4a1ca92432ab4101002a5a892a5578c885ed

Authored by 张志伟
2 parents a3c2e82a 84cc2822

Merge remote-tracking branch 'origin/bug_fix'

Showing 1 changed file with 4 additions and 1 deletions
src/layouts/BasicLayout.tsx
... ... @@ -108,7 +108,10 @@ const BasicLayout: React.FC<BasicLayoutProps> = ({ dispatch, children, ...other
108 108 {...settings}
109 109 navTheme={PROD_APP_ENV ? "dark" : "light"}
110 110 >
111   - <WaterMark content={currentUser?.name ? `${currentUser.name} ${currentUser?.mobile ?? ""}` : ""} fontSize={18}>
  111 + <WaterMark
  112 + content={currentUser?.name ? `${currentUser.name} ${(currentUser?.mobile ?? "").slice(-4)}` : ""}
  113 + fontSize={18}
  114 + >
112 115 {children}
113 116 </WaterMark>
114 117 </ProLayout>
... ...