Jelajahi Sumber

修改图片路径问题

zq940222 4 bulan lalu
induk
melakukan
aa15bfd044
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      src/views/adweb/seo/Pdf.vue

+ 3 - 2
src/views/adweb/seo/Pdf.vue

@@ -336,7 +336,7 @@
         <div class="col-sm-6" v-if="detailInfo?.outLinkImg?.length > 0">
           <p class="img-title">外链总数趋势</p>
           <div class="img-wrap-outlink">
-            <img :src="detailInfo.outLinkImg[0]" />
+            <img :src="detailInfo.outLinkImg[0].url" />
           </div>
 
           <div class="content" id="miaoshu1">
@@ -348,7 +348,7 @@
         <div class="col-sm-6" v-if="detailInfo?.outLinkImg2?.length > 0">
           <p class="img-title">外链变化趋势</p>
           <div class="img-wrap-outlink">
-            <img :src="detailInfo.outLinkImg2[0]" />
+            <img :src="detailInfo.outLinkImg2[0].url" />
           </div>
           <div class="content" id="miaoshu2">
             <p>
@@ -539,6 +539,7 @@ const longTailPageListColumns = ref([
 
 // 处理从 SeoPdfExport 接收的数据
 const handleSeoPdfExportData = (data) => {  
+  console.log(data);
   customerName.value = data.customerName;
   monthStr.value = data.monthStr;
   detailInfo.value = data.detailInfo;