update uniapp
This commit is contained in:
parent
515655ba29
commit
11df4e3d57
@ -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;
|
||||||
|
@ -35,8 +35,6 @@
|
|||||||
this.page++;
|
this.page++;
|
||||||
this.getMyPostList();
|
this.getMyPostList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getCollectPostList() {
|
getCollectPostList() {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user