Config Menu
This commit is contained in:
@@ -28,6 +28,16 @@ export class Membership {
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
async getDetail(id) {
|
||||
try {
|
||||
const response = await http.get(`/users/`+id);
|
||||
console.log(response,'Data Detail')
|
||||
this.data = response.body.data
|
||||
this.total_data = response?.body?.count ?? 0
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
async getDataBySuperior() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user