update index/index.vue
This commit is contained in:
parent
fdffe6d9bc
commit
007fb0ffc6
@ -59,9 +59,7 @@
|
||||
if (this.current === 0) {
|
||||
this.page1++;
|
||||
this.getFollowUserPost();
|
||||
}
|
||||
|
||||
if (this.current === 1) {
|
||||
} else if (this.current === 1) {
|
||||
this.page2++;
|
||||
this.getLastPost();
|
||||
}
|
||||
@ -71,8 +69,7 @@
|
||||
this.page1 = 1;
|
||||
this.followUserPost = [];
|
||||
this.getFollowUserPost();
|
||||
}
|
||||
if (this.current === 1) {
|
||||
} else if (this.current === 1) {
|
||||
this.page2 = 1;
|
||||
this.lastPost = [];
|
||||
this.getLastPost();
|
||||
|
Loading…
x
Reference in New Issue
Block a user