Sfoglia il codice sorgente

关键词库版本显示bug修复

yuwenjun1997 2 anni fa
parent
commit
ec61f7f298
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>