This commit is contained in:
syuilo 2019-05-21 08:23:37 +09:00
parent b01227adbd
commit 961d0d7e08

View File

@ -40,7 +40,11 @@ export default Vue.extend({
inject: ['column', 'isScrollTop', 'count'],
mixins: [
paging({}),
paging({
onQueueChanged: (self, q) => {
self.count(q.length);
},
}),
],
data() {
@ -49,9 +53,6 @@ export default Vue.extend({
pagination: {
endpoint: 'i/notifications',
limit: 20,
onQueueChanged: (self, q) => {
self.count(q.length);
},
}
};
},