diff --git a/src/components/accountOper/list/index.ts b/src/components/accountOper/list/index.ts index 35718ee6..1bda65a6 100644 --- a/src/components/accountOper/list/index.ts +++ b/src/components/accountOper/list/index.ts @@ -23,6 +23,7 @@ export default OakComponent({ chooseType: false, pickerStart: dayjs().subtract(10, 'y').startOf('m').format('YYYY-MM-DD'), pickerEnd: dayjs().startOf('m').format('YYYY-MM-DD'), + refreshing: false, }, filters: [ { @@ -169,6 +170,18 @@ export default OakComponent({ type: key, }, () => this.setTypeFilter()) this.closeChooseTypeMp(); - } + }, + bindrefresherrefresh() { + this.setState({ + refreshing: true + }) + this.refresh(); + setTimeout(() => { + this.setState({ + refreshing: false + }) + }, 1000); + + }, } }) \ No newline at end of file