diff --git a/src/components/Exception/demo/403.md b/src/components/Exception/demo/403.md index ef7655c9b7e7d8303091f2de86724c360364291c..85f0ad07284a998f5018b5b3df51842f8f347994 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 9f2035353a83e9647b2ec294fc70b4707f1d2689..3f4ee55bec3a68c15bd6b6f0251f1388b0e345b0 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 ed6213cd1c4fdc5c0d2694c43e911f4d89cc8660..41c5d892dc88178969038e5dad7f387d7af03bb1 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 d9cfeb7beca4a8b5e227b5442d020f26bfa4a5b7..3b2ca727d6108459748a717924d832a486996b89 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 3cb779e67d3c87632f0a736e088da90dcc82d6d2..d6f3a0e3d4bb883c950f433c62951413db15d2a7 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 ee284cf0c272482b30715e7100080c4cbc23fd77..371d4e3b83db32f2892d2772d0c497742ae45db7 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 dba472b78d1a0ae4560438084f93347eb1374bb1..b6ec5f24b8bcb890e2de9c20d2d44549db923cac 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 93fa8e6a289eecd61218224bc978bde3c394f5a6..4bc444fc4b891c0d6162c89979f32f48eb38e5ac 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 { - + + );