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

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

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