Skip to content

Commit 731fc47

Browse files
authored
Merge pull request #386 from TaleLin/bugfix/385
fix(model): fix variable spelling error
2 parents bccddc6 + 997b5a2 commit 731fc47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lin/model/admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class Admin {
3535
return get('cms/admin/permission')
3636
}
3737

38-
static async getAdminUsers({ group_id, count = this.uCount, page = this.uPag }) {
38+
static async getAdminUsers({ group_id, count = this.uCount, page = this.uPage }) {
3939
let res
4040
if (group_id) {
4141
res = await get('cms/admin/users', {
@@ -62,7 +62,7 @@ export default class Admin {
6262
return this.getAdminUsers({})
6363
}
6464

65-
async getGroupsWithPermissions({ count = this.uCount, page = this.uPag }) {
65+
async getGroupsWithPermissions({ count = this.uCount, page = this.uPage }) {
6666
const res = await get('cms/admin/groups', {
6767
count,
6868
page,

0 commit comments

Comments
 (0)