소스 검색

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

DmooSoCool 7 년 전
부모
커밋
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}>