mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
fix typos in messages (#21594)
This commit is contained in:
parent
4584a62d54
commit
b617b41dcb
@ -81,14 +81,14 @@ const PriceInput: React.FC<PriceInputProps> = ({ value = {}, onChange }) => {
|
||||
|
||||
const Demo = () => {
|
||||
const onFinish = values => {
|
||||
console.log('Received values of form: ', values);
|
||||
console.log('Received values from form: ', values);
|
||||
};
|
||||
|
||||
const checkPrice = (rule, value) => {
|
||||
if (value.number > 0) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
return Promise.reject('Price must greater than zero!');
|
||||
return Promise.reject('Price must be greater than zero!');
|
||||
};
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user