From cb286ee457f85f784f077df7931db12c84426217 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 9 Oct 2017 14:48:10 +0800 Subject: [PATCH] remove size="large" --- src/components/Exception/demo/403.md | 4 ++-- src/components/Exception/index.js | 2 +- src/components/PageHeader/demo/standard.md | 6 +++--- src/components/Result/demo/classic.md | 6 +++--- src/components/Result/demo/error.md | 2 +- src/routes/Profile/AdvancedProfile.js | 8 ++++---- src/routes/Result/Error.js | 2 +- src/routes/Result/Success.js | 6 +++--- src/routes/User/Register.js | 5 +---- src/routes/User/RegisterResult.js | 4 ++-- 10 files changed, 21 insertions(+), 24 deletions(-) diff --git a/src/components/Exception/demo/403.md b/src/components/Exception/demo/403.md index ef7655c9..85f0ad07 100644 --- a/src/components/Exception/demo/403.md +++ b/src/components/Exception/demo/403.md @@ -11,8 +11,8 @@ import { Button } from 'antd'; const actions = (
- - + +
); ReactDOM.render( diff --git a/src/components/Exception/index.js b/src/components/Exception/index.js index 9f203535..3f4ee55b 100644 --- a/src/components/Exception/index.js +++ b/src/components/Exception/index.js @@ -21,7 +21,7 @@ export default ({ className, type, title, desc, img, actions }) => {

{title || config[pageType].title}

{desc || config[pageType].desc}
- {actions || } + {actions || }
diff --git a/src/components/PageHeader/demo/standard.md b/src/components/PageHeader/demo/standard.md index ed6213cd..41c5d892 100644 --- a/src/components/PageHeader/demo/standard.md +++ b/src/components/PageHeader/demo/standard.md @@ -19,10 +19,10 @@ const menu = ( const action = (
- - + + - diff --git a/src/components/Result/demo/classic.md b/src/components/Result/demo/classic.md index d9cfeb7b..3b2ca727 100644 --- a/src/components/Result/demo/classic.md +++ b/src/components/Result/demo/classic.md @@ -46,9 +46,9 @@ const extra = ( const actions = (
- - - + + +
); diff --git a/src/components/Result/demo/error.md b/src/components/Result/demo/error.md index 3cb779e6..d6f3a0e3 100644 --- a/src/components/Result/demo/error.md +++ b/src/components/Result/demo/error.md @@ -25,7 +25,7 @@ const extra = (
); -const actions = ; +const actions = ; ReactDOM.render( - - + + - - + ); diff --git a/src/routes/Result/Error.js b/src/routes/Result/Error.js index ee284cf0..371d4e3b 100644 --- a/src/routes/Result/Error.js +++ b/src/routes/Result/Error.js @@ -19,7 +19,7 @@ const extra = ( ); -const actions = ; +const actions = ; export default () => ( diff --git a/src/routes/Result/Success.js b/src/routes/Result/Success.js index dba472b7..b6ec5f24 100644 --- a/src/routes/Result/Success.js +++ b/src/routes/Result/Success.js @@ -44,9 +44,9 @@ const extra = ( const actions = (
- - - + + +
); diff --git a/src/routes/User/Register.js b/src/routes/User/Register.js index 93fa8e6a..4bc444fc 100644 --- a/src/routes/User/Register.js +++ b/src/routes/User/Register.js @@ -176,7 +176,6 @@ export default class Register extends Component { }], })( @@ -203,7 +202,7 @@ export default class Register extends Component { {getFieldDecorator('prefix', { initialValue: '86', })( - @@ -231,7 +230,6 @@ export default class Register extends Component { }], })( )} @@ -240,7 +238,6 @@ export default class Register extends Component { - + + ); -- GitLab