1) 优化映射分销商搜索修复
This commit is contained in:
parent
ed50e4126c
commit
02979d3e8c
|
@ -281,18 +281,23 @@ export default class adduserinfo extends React.Component {
|
|||
console.log("e onDirectChange", e);
|
||||
let model2 = this.state.model;
|
||||
model2.direct_reseller_id = e;
|
||||
this.setState({
|
||||
page: 1,
|
||||
});
|
||||
this.setState({
|
||||
model: model2,
|
||||
});
|
||||
}
|
||||
onChangePageSelect(closeLoading) {
|
||||
let that = this;
|
||||
let pages = that.state.page;
|
||||
console.log("pages ==>", pages);
|
||||
this.setState({
|
||||
page: that.state.page + 1,
|
||||
page: pages + 1,
|
||||
});
|
||||
let params = {
|
||||
limit: this.state.limit,
|
||||
page: that.state.page + 1,
|
||||
page: pages + 1,
|
||||
};
|
||||
this.directList(params);
|
||||
closeLoading && closeLoading();
|
||||
|
|
Loading…
Reference in New Issue