Ver código fonte

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

DmooSoCool 7 anos atrás
pai
commit
354f4da72c
1 arquivos alterados com 1 adições e 1 exclusões
  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}>