张延森 5 years ago
parent
commit
eee856e8e8
2 changed files with 4 additions and 3 deletions
  1. 3
    2
      src/pages/activity/index.js
  2. 1
    1
      src/pages/project/index.js

+ 3
- 2
src/pages/activity/index.js View File

88
     }
88
     }
89
   }
89
   }
90
 
90
 
91
-  onPullDownRefresh = async (rest) => {
91
+  onListPullDownRefresh = async (rest) => {
92
     // debugger
92
     // debugger
93
     if (this.refreshing) return
93
     if (this.refreshing) return
94
     this.refreshing = true
94
     this.refreshing = true
101
       hasMore: _list.length >= total ? false : true,
101
       hasMore: _list.length >= total ? false : true,
102
       pageIndex: 1
102
       pageIndex: 1
103
     })
103
     })
104
+    // debugger
104
     rest && rest()
105
     rest && rest()
105
     
106
     
106
     this.refreshing = false
107
     this.refreshing = false
129
         isEmpty={isEmpty}
130
         isEmpty={isEmpty}
130
         emptyText="暂无活动~"
131
         emptyText="暂无活动~"
131
         hasMore={hasMore}
132
         hasMore={hasMore}
132
-        onPullDownRefresh={fn => this.onPullDownRefresh(fn)}
133
+        onPullDownRefresh={fn => this.onListPullDownRefresh(fn)}
133
         onScrollToLower={fn => this.onScrollToLower(fn)}
134
         onScrollToLower={fn => this.onScrollToLower(fn)}
134
       >
135
       >
135
         <View className="list">
136
         <View className="list">

+ 1
- 1
src/pages/project/index.js View File

88
       this.qqmapsdk.reverseGeocoder({
88
       this.qqmapsdk.reverseGeocoder({
89
         location,
89
         location,
90
         success: (res) => {
90
         success: (res) => {
91
-          debugger
91
+          // debugger
92
           let city = res.result.address_component.city
92
           let city = res.result.address_component.city
93
           
93
           
94
           let curCity = cityList.filter(item => {
94
           let curCity = cityList.filter(item => {