feat: handler modal payback after create and fix payback paging
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user