Browse Source

fix buttonText is null in LoginItem

pull/2134/merge
陈帅 8 years ago
parent
commit
02e811083b
  1. 1
      package.json
  2. 4
      src/components/Login/LoginItem.js
  3. 1
      src/global.js

1
package.json

@ -24,6 +24,7 @@
},
"dependencies": {
"@antv/data-set": "^0.9.0",
"@babel/polyfill": "^7.0.0",
"@babel/runtime": "^7.0.0",
"antd": "^3.9.0",
"bizcharts": "^3.1.10",

4
src/components/Login/LoginItem.js

@ -8,6 +8,10 @@ import LoginContext from './loginContext';
const FormItem = Form.Item;
class WarpFormItem extends Component {
static defaultProps = {
buttonText: '获取验证码',
};
constructor(props) {
super(props);
this.state = {

1
src/global.js

@ -0,0 +1 @@
import '@babel/polyfill';
Loading…
Cancel
Save