Browse Source

feat(exception):align antd 5.x (#11009)

Co-authored-by: yuanzhian <yuanzhian@cai-inc.com>
pull/11011/head
梓安 2 years ago
committed by GitHub
parent
commit
b6527751b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/pages/exception/403/index.tsx
  2. 3
      src/pages/exception/404/index.tsx
  3. 5
      src/pages/exception/500/index.tsx

5
src/pages/exception/403/index.tsx

@ -5,10 +5,7 @@ export default () => (
<Result
status="403"
title="403"
style={{
background: 'none',
}}
subTitle="Sorry, you don't have access to this page."
subTitle="Sorry, you are not authorized to access this page."
extra={
<Link to="/">
<Button type="primary">Back to home</Button>

3
src/pages/exception/404/index.tsx

@ -5,9 +5,6 @@ export default () => (
<Result
status="404"
title="404"
style={{
background: 'none',
}}
subTitle="Sorry, the page you visited does not exist."
extra={
<Link to="/">

5
src/pages/exception/500/index.tsx

@ -5,10 +5,7 @@ export default () => (
<Result
status="500"
title="500"
style={{
background: 'none',
}}
subTitle="Sorry, the server is reporting an error."
subTitle="Sorry, something went wrong."
extra={
<Link to="/">
<Button type="primary">Back Home</Button>

Loading…
Cancel
Save