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