chenrui vor 3 Jahren
Ursprung
Commit
a818c75596
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      src/views/productManagement/newProduct/detail.vue

+ 2 - 1
src/views/productManagement/newProduct/detail.vue

@@ -26,7 +26,8 @@
           <div class="productDetail">
             <h4>产品介绍</h4>
             <div class="productDesc">
-              {{ detailsData && detailsData.description || '暂无产品介绍' }}
+              <div v-if="detailsData && detailsData.description" v-html="detailsData.description"></div>
+              <span v-else>暂无产品介绍</span>
             </div>
           </div>
         </div>