Переглянути джерело

关键词库版本显示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>