flat: 暂存
This commit is contained in:
@@ -353,15 +353,17 @@ export default {
|
|||||||
},
|
},
|
||||||
//下拉刷新
|
//下拉刷新
|
||||||
download: function () {
|
download: function () {
|
||||||
if (this.activeTab === 0) {
|
console.log(this.activeTab)
|
||||||
|
if (this.activeTab === '0') {
|
||||||
this.nearPage.current = 1;
|
this.nearPage.current = 1;
|
||||||
|
console.log('123123')
|
||||||
this.getLocation();
|
this.getLocation();
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.activeTab === 1) {
|
if (this.activeTab === '1') {
|
||||||
this.recommendPage.current = 1;
|
this.recommendPage.current = 1;
|
||||||
this.getRecommendList();
|
this.getRecommendList();
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
@@ -369,7 +371,7 @@ export default {
|
|||||||
}, 1000);
|
}, 1000);
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.activeTab === 2) {
|
if (this.activeTab === '2') {
|
||||||
this.newPage.current = 1;
|
this.newPage.current = 1;
|
||||||
this.getNewList();
|
this.getNewList();
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user