Bug Fixing PPOB

This commit is contained in:
2022-01-24 17:29:06 +07:00
parent f8cb939583
commit 298a5261c6
7 changed files with 363 additions and 535 deletions

View File

@@ -47,7 +47,7 @@ export class Membership {
async getDetail(id) {
try {
const response = await http.get(`/users/`+id);
//console.log(response,'Data Detail')
console.log(response,'Data Detail')
this.dataDetail = response.body.data
} catch (e) {
console.error(e);
@@ -114,6 +114,7 @@ export class Membership {
async changeStatus(id, status) {
try {
const response = await http.get(`/users/${id}/${status}`);
console.log(status,"change status")
await this.getData();
return response;
} catch (e) {