|
@@ -671,6 +671,9 @@ export default {
|
|
|
.then(res => {
|
|
|
this.following = res.data;
|
|
|
this.followingCursor++;
|
|
|
+ if(res.data.length < 10) {
|
|
|
+ this.followingMore = false;
|
|
|
+ }
|
|
|
});
|
|
|
this.$refs.followingModal.show();
|
|
|
},
|
|
@@ -688,7 +691,10 @@ export default {
|
|
|
.then(res => {
|
|
|
this.followers = res.data;
|
|
|
this.followerCursor++;
|
|
|
- })
|
|
|
+ if(res.data.length < 10) {
|
|
|
+ this.followerMore = false;
|
|
|
+ }
|
|
|
+ })
|
|
|
this.$refs.followerModal.show();
|
|
|
},
|
|
|
|
|
@@ -702,7 +708,8 @@ export default {
|
|
|
if(res.data.length > 0) {
|
|
|
this.following.push(...res.data);
|
|
|
this.followingCursor++;
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ if(res.data.length < 10) {
|
|
|
this.followingMore = false;
|
|
|
}
|
|
|
});
|
|
@@ -719,7 +726,8 @@ export default {
|
|
|
if(res.data.length > 0) {
|
|
|
this.followers.push(...res.data);
|
|
|
this.followerCursor++;
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ if(res.data.length < 10) {
|
|
|
this.followerMore = false;
|
|
|
}
|
|
|
});
|