chenrui hace 3 años
padre
commit
a818c75596
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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>