Edit Menu Product

This commit is contained in:
2021-12-22 16:45:20 +07:00
parent 7edf7650ec
commit 9a596abeca
8 changed files with 25 additions and 24 deletions

View File

@@ -31,6 +31,7 @@ export class Product {
async getData() {
try {
const response = await http.get(`/product/all?supplier=${this.filterSupplier}&sub-category=${this.filterSubCategory}&page=${this.page}&pageSize=${this.pageSize}`);
//console.log(response)
this.data = response.body.data.map((item, idx) => {
item.key = idx;
return item