forked from FoundKeyGang/FoundKey
parent
48f39e70c3
commit
835057d970
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ export default Vue.extend({
|
||||||
this.moreFetching = true;
|
this.moreFetching = true;
|
||||||
(this as any).api('i/favorites', {
|
(this as any).api('i/favorites', {
|
||||||
limit: 11,
|
limit: 11,
|
||||||
maxId: this.favorites[this.favorites.length - 1].note.id
|
maxId: this.favorites[this.favorites.length - 1].id
|
||||||
}).then(favorites => {
|
}).then(favorites => {
|
||||||
if (favorites.length == 11) {
|
if (favorites.length == 11) {
|
||||||
this.existMore = true;
|
this.existMore = true;
|
||||||
|
|
|
@ -53,7 +53,7 @@ export default Vue.extend({
|
||||||
this.moreFetching = true;
|
this.moreFetching = true;
|
||||||
(this as any).api('i/favorites', {
|
(this as any).api('i/favorites', {
|
||||||
limit: 11,
|
limit: 11,
|
||||||
maxId: this.favorites[this.favorites.length - 1].note.id
|
maxId: this.favorites[this.favorites.length - 1].id
|
||||||
}).then(favorites => {
|
}).then(favorites => {
|
||||||
if (favorites.length == 11) {
|
if (favorites.length == 11) {
|
||||||
this.existMore = true;
|
this.existMore = true;
|
||||||
|
|
Loading…
Reference in a new issue