Bug Fixing Create New Supplier Menu Supplier

This commit is contained in:
2022-01-04 18:15:48 +07:00
parent cc930cd195
commit 211e6b401c
2 changed files with 24 additions and 21 deletions

View File

@@ -38,13 +38,13 @@ export class Supplier {
}
async create(data) {
try {
// try {
const response = await http.post('/users/supplier').send(data);
await this.getData();
//await this.getData();
return response;
} catch (e) {
console.error(e);
}
// } catch (e) {
// console.error(e);
// }
}
async createTransaction(data) {
try {