浏览代码

关键词库版本显示bug修复

yuwenjun1997 2 年之前
父节点
当前提交
ec61f7f298
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/search/components/product-list.vue

+ 1 - 1
pages/search/components/product-list.vue

@@ -19,7 +19,7 @@
             <view class="product" v-for="product in list" :key="product.productId" @click="onToDetail(product)">
                 <view class="cover"><image :src="product.image"></image></view>
                 <view class="content">
-                    <view class="title" v-text="product.name"></view>
+                    <view class="title" v-html="product.name"></view>
                     <view class="unit">
                         <text class="label">规格:</text>
                         <text class="value" v-text="product.unit"></text>