src/views/productDetail/index.vue
@@ -57,20 +57,10 @@ publishStatus: 1, productType: 0, }; findAllCenterProduct(param) .then((res) => { this.data.data = res.data.list[0]; this.showData = true; }) .catch((err) => { console.log(err); this.$notify({ type: "error", message: "查询产品失败", duration: 2500, offset: 57, }); }); findAllCenterProduct(param).then((res) => { this.data.data = res.data.list[0]; this.showData = true; }); }, }, };