This commit is contained in:
2019-01-06 00:33:30 +07:00
parent 295a125862
commit f1fdbbd6e6
4 changed files with 112 additions and 2 deletions

View File

@@ -32,9 +32,12 @@ export default class VouchersComponent extends React.Component {
},
};
this.defaultState = Object.assign({}, this.state);
this.vouchersStore = props.appstate.vouchers;
}
componentDidMount() {
this.vouchersStore.getList();
console.log('res list component',this.vouchersStore.getList())
}
render() {