From 5ee0d36e051d591f930ba93ba660e45f10710c3f 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 |   18 ++++--------------
 1 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/src/views/productDetail/index.vue b/src/views/productDetail/index.vue
index 28ba0de..9523177 100644
--- a/src/views/productDetail/index.vue
+++ b/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;
+      });
     },
   },
 };

--
Gitblit v1.8.0