ZZJ
2022-07-11 07d14cf6edbef9436aa5909bcb6b2329ecc6f9a2
src/views/productDetail/index.vue
@@ -51,27 +51,16 @@
      let param = {
        page: 1,
        size: 1,
        inputText: "",
        id: this.$route.query.id,
        inputText: this.$route.query.name,
        archType: "",
        gpuType: "",
        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;
      });
    },
  },
};
@@ -89,5 +78,9 @@
      color: #666;
    }
  }
  .heart {
    min-height: calc(100vh - 210px);
  }
}
</style>