feat: handler modal payback after create and fix payback paging

This commit is contained in:
caturbgs
2021-12-21 16:04:01 +07:00
parent ad3b7c6be0
commit 056248a651
4 changed files with 56 additions and 79 deletions

View File

@@ -73,9 +73,9 @@ export class Payback {
async create(data) {
try {
console.log(data)
return await http.post("/transaction/deposit-return").send(data);
const response = await http.post("/transaction/deposit-return").send(data);
await this.getData();
return response;
} catch (e) {
console.error(e);
}