forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
835057d970
commit
1ba1a7aa40
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].id
|
untilId: 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].id
|
untilId: 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