refactor
This commit is contained in:
parent
f96d50bc07
commit
861d028d09
35 changed files with 50 additions and 50 deletions
|
|
@ -82,7 +82,7 @@ export default defineComponent({
|
|||
showNext: false,
|
||||
error: null,
|
||||
prev: {
|
||||
endpoint: 'users/notes',
|
||||
endpoint: 'users/notes' as const,
|
||||
limit: 10,
|
||||
params: init => ({
|
||||
userId: this.note.userId,
|
||||
|
|
@ -91,7 +91,7 @@ export default defineComponent({
|
|||
},
|
||||
next: {
|
||||
reversed: true,
|
||||
endpoint: 'users/notes',
|
||||
endpoint: 'users/notes' as const,
|
||||
limit: 10,
|
||||
params: init => ({
|
||||
userId: this.note.userId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue