@@ -195,6 +195,15 @@
onUnload() {
uni.$off('refresh', this.handleRefresh)
},
+ // 下拉刷新
+ onPullDownRefresh() {
+ console.log('refresh')
+ this.pageNo = 1
+ this.getRow()
+ setTimeout(function () {
+ uni.stopPullDownRefresh()
+ }, 200)
+ },
methods: {
pageInit() {
this.sortIndex = 1