wip: refactor(client): migrate paging components to composition api
This commit is contained in:
parent
186a9e3b41
commit
06125e6820
15 changed files with 51 additions and 122 deletions
|
|
@ -108,9 +108,9 @@ export default defineComponent({
|
|||
otherPostsPagination: {
|
||||
endpoint: 'users/pages',
|
||||
limit: 6,
|
||||
params: () => ({
|
||||
params: computed(() => ({
|
||||
userId: this.page.user.id
|
||||
})
|
||||
})),
|
||||
},
|
||||
};
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue