From 2b99047683332624832c1dfcae596e957a710b7d Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 28 七月 2022 10:20:49 +0800
Subject: [PATCH] bug修复

---
 src/views/index/components/rightColumn.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/index/components/rightColumn.vue b/src/views/index/components/rightColumn.vue
index a60fbfb..e761a5b 100644
--- a/src/views/index/components/rightColumn.vue
+++ b/src/views/index/components/rightColumn.vue
@@ -14,7 +14,7 @@
         </li>
       </ul>
       <price :priceNew="item.priceBase"></price>
-      <div class="button" @click="buyProduct(item.modelName)">绔嬪嵆璐拱</div>
+      <div class="button" @click="buyProduct(item.id)">绔嬪嵆璐拱</div>
     </div>
   </div>
 </template>
@@ -44,11 +44,11 @@
     }
   },
   methods: {
-    buyProduct(modelName) {
+    buyProduct(id) {
       this.$router.push({
         path: "/productDetail",
         query: {
-          name: modelName,
+          id: id,
         },
       });
     },

--
Gitblit v1.8.0