【发布时间】:2021-10-13 05:56:44
【问题描述】:
// this is my method
filterProducts() {
axios
.get("http://fake-api.ns.nsdevel.eu/products")
.then((resp3) => {this.products = resp3.data.products})
.catch((error) => {
this.errorMessage = error.message;
console.error("There was an error!", error);
});
},
我想根据公司过滤这些产品。有人可以给我一个提示吗?试了很多次都没用。
【问题讨论】: