Commit 7628dfd7 by zhangxw

bug修改

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