Bug Fixing
This commit is contained in:
@@ -57,7 +57,7 @@ export class Membership {
|
||||
async getDataBySuperior() {
|
||||
try {
|
||||
const response = await http.get(`/users/find-by-supperior?page=${this.page}&pageSize=${this.pageSize}`);
|
||||
//console.log(response)
|
||||
console.log(response)
|
||||
this.data = response.body.data.map((item, idx) => {
|
||||
item.key = idx;
|
||||
item.name = item?.user_detail?.name;
|
||||
@@ -68,7 +68,7 @@ export class Membership {
|
||||
}) ?? []
|
||||
|
||||
this.total_data = response?.body?.count ?? 0
|
||||
//console.log(this.total_data)
|
||||
console.log(this.total_data)
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user