From 80349a88e9a1eeec9f5786e432c8120f7259ab12 Mon Sep 17 00:00:00 2001 From: wayn <1669738430@qq.com> Date: Wed, 9 Dec 2020 00:16:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5=E9=87=91?= =?UTF-8?q?=E5=88=9A=E4=BD=8D=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/modules/Category.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/home/modules/Category.vue b/src/views/home/modules/Category.vue index 33c5caf..d09194c 100644 --- a/src/views/home/modules/Category.vue +++ b/src/views/home/modules/Category.vue @@ -8,7 +8,7 @@ v-for="(item, index) in cate" :key="index" class="scroll-item" - @click="onNavigate(item.id)" + @click="onNavigate(item)" >
{{ item.name }}
@@ -81,7 +81,7 @@ export default { // 跳转 onNavigate(cateId) { this.$router.push({ - path: `/product/1/${cateId}` + path: `/product/1/${cateId.id}` }) }, // 初始化