liuhairui преди 2 седмици
родител
ревизия
09148c1dd4
променени са 1 файла, в които са добавени 3 реда и са изтрити 4 реда
  1. 3 4
      src/view/performance/QualityAssessment/Product.vue

+ 3 - 4
src/view/performance/QualityAssessment/Product.vue

@@ -232,7 +232,7 @@
     <div style="width: 95%; height: 100%; overflow-y: auto;">
       <div style="padding: 20px;">
         <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #e4e7ed;">
-          <h3 style="margin: 0; font-size: 16px; font-weight: bold; color: #303133;">图片历史记录</h3>
+          <h3 style="margin: 0; font-size: 16px; font-weight: bold; color: #303133;">历史记录</h3>
           <el-button type="danger" size="small" @click="toggleHistoryPanel">
             <el-icon><Close /></el-icon>关闭
           </el-button>
@@ -269,7 +269,7 @@
                 />
               </div>
               <div style="margin-top: 10px; font-size: 12px; color: #606266; line-height: 1.4; height: 50px; overflow: hidden;">
-                {{ image.product_content || '无描述' }}
+                {{ image.product_content || '' }}
               </div>
               <div style="margin-top: 5px; font-size: 11px; color: #909399; text-align: right;">
                 {{ image.createTime || '' }}
@@ -311,7 +311,6 @@
             <p style="margin: 0 0 20px 0; color: #606266; line-height: 1.5; font-size: 14px;">
               建议上传商品单一、完整清晰、占据画面中心的白底图,否则可能会影响商品识别效果和生成的背景图质量。
             </p>
-            
             <!-- 商品图例对比 -->
             <div style="margin-bottom: 20px;">
               <div style="display: flex; gap: 15px;">
@@ -1536,7 +1535,7 @@ const downloadTemplateImage = async (imageUrl) => {
 
 // 截断文本函数
 const truncateText = (text, length) => {
-  if (!text) return '无描述'
+  if (!text) return ''
   if (text.length <= length) return text
   return text.substring(0, length) + '...'
 }