|
|
@ -54,9 +54,10 @@ export class Volunteer extends React.Component<{ undefined?:undefined }, |
|
|
|
},new FindUserTransform(),function(res:FindUserRes){ |
|
|
|
},new FindUserTransform(),function(res:FindUserRes){ |
|
|
|
switch (res.customResult) { |
|
|
|
switch (res.customResult) { |
|
|
|
case PageDataMessage.ok: |
|
|
|
case PageDataMessage.ok: |
|
|
|
|
|
|
|
|
|
|
|
that.setState({ |
|
|
|
that.setState({ |
|
|
|
volunteerList:res.dataList, |
|
|
|
volunteerList: page===1?res.dataList||[]:(that.state.volunteerList||[]).concat(res.dataList||[]), |
|
|
|
page:res.page, |
|
|
|
page: res.page, |
|
|
|
form:{ |
|
|
|
form:{ |
|
|
|
keyword:that.state.form.keyword, |
|
|
|
keyword:that.state.form.keyword, |
|
|
|
serviceAddress:that.state.form.serviceAddress |
|
|
|
serviceAddress:that.state.form.serviceAddress |
|
|
|