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);
|
console.log("e onDirectChange", e);
|
||||||
let model2 = this.state.model;
|
let model2 = this.state.model;
|
||||||
model2.direct_reseller_id = e;
|
model2.direct_reseller_id = e;
|
||||||
|
this.setState({
|
||||||
|
page: 1,
|
||||||
|
});
|
||||||
this.setState({
|
this.setState({
|
||||||
model: model2,
|
model: model2,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
onChangePageSelect(closeLoading) {
|
onChangePageSelect(closeLoading) {
|
||||||
let that = this;
|
let that = this;
|
||||||
|
let pages = that.state.page;
|
||||||
|
console.log("pages ==>", pages);
|
||||||
this.setState({
|
this.setState({
|
||||||
page: that.state.page + 1,
|
page: pages + 1,
|
||||||
});
|
});
|
||||||
let params = {
|
let params = {
|
||||||
limit: this.state.limit,
|
limit: this.state.limit,
|
||||||
page: that.state.page + 1,
|
page: pages + 1,
|
||||||
};
|
};
|
||||||
this.directList(params);
|
this.directList(params);
|
||||||
closeLoading && closeLoading();
|
closeLoading && closeLoading();
|
||||||
|
|
Loading…
Reference in New Issue