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

View File

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

View File

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