diff --git a/src/container/other/DebtListScreen.js b/src/container/other/DebtListScreen.js index 621c10b..4d6d56d 100644 --- a/src/container/other/DebtListScreen.js +++ b/src/container/other/DebtListScreen.js @@ -23,6 +23,8 @@ export default class DebtListScreen extends BaseScreen { }; this.navTitle = 'DebtList'; this.navShowLine = true; + this.navShowRight = true; + this.navRightView = {this._refresh()}}>刷新 this.onEndReachedCalledDuringMomentum = false } @@ -56,7 +58,7 @@ export default class DebtListScreen extends BaseScreen { _refresh = () => { this.setState({ refreshing: true, - }); + },() => {console.log(this.state.refreshing)}); setTimeout(() => { this.getAssetDebtList(1) }, 1500)