From e37e45cfe1123928dba5d9c5a427b0ee497b7ad6 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 23 八月 2022 03:21:32 +0800 Subject: [PATCH] 修复算法配置的字段内容 --- src/views/index/components/rightColumn.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/index/components/rightColumn.vue b/src/views/index/components/rightColumn.vue index 7318ed1..d6ff2af 100644 --- a/src/views/index/components/rightColumn.vue +++ b/src/views/index/components/rightColumn.vue @@ -2,7 +2,7 @@ <div class="rightColumn"> <div class="columnItem" v-for="(item, index) in product" :key="index"> <div class="title"> - <img :src="'/httpImage/' + item.logoUrl" alt="" /> + <ImageShow :src="item.logoUrl"></ImageShow> {{ item.modelName }} </div> <div class="des limitRow2"> @@ -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