Skip to content

Commit 69051a6

Browse files
authored
fix FeathersVuexFind.ts
1 parent 25da7c0 commit 69051a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FeathersVuexFind.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default {
7171
},
7272
pageInfo() {
7373
if (this.pagination == null || this.queryId == null || this.pageId == null) return {}
74-
return _get(this.pagination, `[${this.queryId}][${this.pageId}]` || {}
74+
return _get(this.pagination, `[${this.queryId}][${this.pageId}]`) || {}
7575
},
7676
scope() {
7777
const { items, isFindPending, pagination, queryInfo, pageInfo } = this
@@ -98,7 +98,7 @@ export default {
9898
.dispatch(`${this.service}/find`, params)
9999
.then((response) => {
100100
this.isFindPending = false
101-
{ queryId, pageId } = getQueryInfo(params, response)
101+
const { queryId, pageId } = getQueryInfo(params, response)
102102
this.queryId = queryId
103103
this.pageId = pageId
104104
})

0 commit comments

Comments
 (0)