flat: 暂存

This commit is contained in:
Apcallover
2024-03-29 17:21:14 +08:00
parent 8957d276b7
commit a89e7fdb97

View File

@@ -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 () {