Fix bug
This commit is contained in:
parent
6debf45004
commit
4e6dcd16ac
@ -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].id
|
maxId: this.favorites[this.favorites.length - 1].note.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].id
|
maxId: this.favorites[this.favorites.length - 1].note.id
|
||||||
}).then(favorites => {
|
}).then(favorites => {
|
||||||
if (favorites.length == 11) {
|
if (favorites.length == 11) {
|
||||||
this.existMore = true;
|
this.existMore = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user