Browse Source

change: indent商品详情.其他信息字段文本换行处理.

peter 1 month ago
parent
commit
94c50e8419

+ 1 - 1
src/pages/indent-manage/indent/components/calcPrice/components/step1.vue

@@ -38,7 +38,7 @@
         <div class="color-req">
           颜色定制要求: {{ productInfo.product_require_color }}
         </div>
-        <div class="other">其他信息: {{ productInfo.product_other }}</div>
+        <div class="other whitespace-pre-wrap">其他信息: {{ productInfo.product_other }}</div>
         <div class="note">备注: {{ productInfo.notes }}</div>
       </div>
     </div>

+ 1 - 1
src/pages/indent-manage/indent/components/exportQuota2.vue

@@ -132,7 +132,7 @@
 
             <p v-if="productInfo.product_other">
               <strong>More Details:</strong>
-              {{ productInfo.product_other }}
+              <span v-html="productInfo.product_other.replace(/\n/g, '<br>')"></span>
             </p>
           </td>
         </tr>