From 61502ef942c383ed7e9524cf4cf3d10802c3f3ad Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 18 Apr 2018 14:08:06 +0800 Subject: [PATCH] Fix form demo error in IE9 --- components/form/demo/customized-form-controls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/demo/customized-form-controls.md b/components/form/demo/customized-form-controls.md index 7896d2667e..1ac919b345 100644 --- a/components/form/demo/customized-form-controls.md +++ b/components/form/demo/customized-form-controls.md @@ -28,7 +28,7 @@ class PriceInput extends React.Component { constructor(props) { super(props); - const value = this.props.value || {}; + const value = props.value || {}; this.state = { number: value.number || 0, currency: value.currency || 'rmb',