forked from FoundKeyGang/FoundKey
Fix
This commit is contained in:
parent
699a55ea08
commit
f128813a5e
1 changed files with 5 additions and 4 deletions
|
@ -40,7 +40,11 @@ export default Vue.extend({
|
||||||
inject: ['column', 'isScrollTop', 'count'],
|
inject: ['column', 'isScrollTop', 'count'],
|
||||||
|
|
||||||
mixins: [
|
mixins: [
|
||||||
paging({}),
|
paging({
|
||||||
|
onQueueChanged: (self, q) => {
|
||||||
|
self.count(q.length);
|
||||||
|
},
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
@ -49,9 +53,6 @@ export default Vue.extend({
|
||||||
pagination: {
|
pagination: {
|
||||||
endpoint: 'i/notifications',
|
endpoint: 'i/notifications',
|
||||||
limit: 20,
|
limit: 20,
|
||||||
onQueueChanged: (self, q) => {
|
|
||||||
self.count(q.length);
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue