From d889eaf990af99c06970e51f2bc421ac0015489c Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期四, 05 五月 2022 13:30:31 +0800 Subject: [PATCH] bug修复 --- src/views/productDetail/index.vue | 20 +++++--------------- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/views/productDetail/index.vue b/src/views/productDetail/index.vue index 29d8c2f..9523177 100644 --- a/src/views/productDetail/index.vue +++ b/src/views/productDetail/index.vue @@ -55,22 +55,12 @@ archType: "", gpuType: "", publishStatus: 1, - productLabelId: "", + 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; + }); }, }, }; -- Gitblit v1.8.0