Commit 7628dfd7 by zhangxw

bug修改

1 parent 7f3d397e
......@@ -52,9 +52,9 @@ Page({
this.getData()
},
getData(onPullDown) {
this.getActivityList(1, onPullDown)
this.getActivityList(2, onPullDown)
getData() {
this.getActivityList(1)
this.getActivityList(2)
},
// 计算文本宽度
......@@ -178,13 +178,6 @@ Page({
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
this.setData({
activePageNum: 1,
pageNum: 1
})
this.getData(true)
},
// 下拉刷新
activityRefresh(e) {
......@@ -193,7 +186,7 @@ Page({
activePageNum: 1,
pageNum: 1
})
this.getActivityList(type)
this.getActivityList(type, true)
},
// 上拉触底加载
......
......@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试
3生产
*/
const index = 1
const index = 2
const secretKey = {
ip: {},
dev: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!