From a932a4ac08cb4f43756f69af69bd8166e7634427 Mon Sep 17 00:00:00 2001 From: Shawn Sit Date: Fri, 30 Sep 2016 14:56:53 +0800 Subject: [PATCH] docs: translated controlled demo (#3220) * translated controlled demo * fixs: misspell & shorter label --- components/mention/demo/controlled.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/mention/demo/controlled.md b/components/mention/demo/controlled.md index 256f7ceb0e..b20b6024a8 100644 --- a/components/mention/demo/controlled.md +++ b/components/mention/demo/controlled.md @@ -43,7 +43,7 @@ let App = React.createClass({ const { getFieldValue } = this.props.form; const mentions = getMentions(getFieldValue('mention')); if (mentions.length < 2) { - callback(new Error('最帅的码农不止一个!!')); + callback(new Error('More than one must be selected!')); } else { callback(); } @@ -55,7 +55,7 @@ let App = React.createClass({
@@ -71,9 +71,9 @@ let App = React.createClass({ )} - +     - +
);