update uniapp

This commit is contained in:
linfeng 2023-02-01 09:36:32 +08:00
parent 515655ba29
commit 11df4e3d57
3 changed files with 5 additions and 7 deletions

View File

@ -81,7 +81,7 @@
uni.stopPullDownRefresh();
},
methods: {
tabChange(index) {
this.current = index;
this.followUserPost = [];
@ -90,7 +90,7 @@
if (index === 0) {
this.page1 = 1;
this.getFollowUserPost();
}
if (index === 1) {
this.page2 = 1;

View File

@ -35,8 +35,6 @@
this.page++;
this.getMyPostList();
}
},
methods: {
getCollectPostList() {

View File

@ -101,7 +101,7 @@
this.page = 1
this.pageList = []
this.getPostList()
}else if (this.pageCurrent == 1) {
} else if (this.pageCurrent == 1) {
this.userList = [];
this.getUserRanking();
}
@ -116,8 +116,8 @@
},
toSearch() {
uni.showToast({
icon:'none',
title:'暂无搜索'
icon: 'none',
title: '暂无搜索'
})
},
pageTabChange(index) {