feat: add roles in Membership

This commit is contained in:
caturbgs
2021-12-10 14:33:55 +07:00
parent d3ecd09d6f
commit 6a364fe8b4
6 changed files with 91 additions and 60 deletions

View File

@@ -15,8 +15,6 @@ export class Membership {
@action
async getData() {
const response = await http.get(`/users/find-by-supperior?page=${this.page}&pageSize=${this.pageSize}`);
// console.log(response, 'Data user')
// console.log(JSON.stringify(response.body.data), 'Data')
this.data = response.body.data ?? []
this.total_data = response.body.total_data ?? 0
}