Просмотр исходного кода

修复登录页面点击"手机号登录"时控制台所报`countDown`的错误.

DmooSoCool 7 лет назад
Родитель
Сommit
354f4da72c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/Login/LoginItem.js

+ 1 - 1
src/components/Login/LoginItem.js

@@ -94,7 +94,7 @@ class WarpFormItem extends Component {
 
     const otherProps = restProps || {};
     if (type === 'Captcha') {
-      const inputProps = omit(otherProps, ['onGetCaptcha']);
+      const inputProps = omit(otherProps, ['onGetCaptcha', 'countDown']);
       return (
         <FormItem>
           <Row gutter={8}>