Przeglądaj źródła

fix: bug修复阶段v2.4

chenpeng 1 tydzień temu
rodzic
commit
1421f3b8ee

+ 1 - 1
components/business/trends/comp/item.vue

@@ -38,7 +38,7 @@ async function clickLoginAndDownload(item: any) {
           {{ item.subhead }}
         </div>
         <div class="flex items-center">
-          <el-button class="!bg-#9B6CFF w-140px text-14px !text-#fff !b-#9B6CFF !h-48px py-18px">
+          <el-button v-if="item.blogSlug" class="!bg-#9B6CFF w-140px text-14px !text-#fff !b-#9B6CFF !h-48px py-18px">
             <NuxtLink :to="`/blog/${item.blogSlug}`">
               Learn More
             </NuxtLink>

+ 1 - 1
components/business/trends/comp/item2.vue

@@ -34,7 +34,7 @@ async function clickLoginAndDownload(item: any) {
           {{ item.subhead }}
         </div>
         <div class="flex items-center">
-          <el-button class="!bg-#9B6CFF w-140px text-14px !text-#fff !b-#9B6CFF !h-48px py-18px">
+          <el-button v-if="item.blogSlug" class="!bg-#9B6CFF w-140px text-14px !text-#fff !b-#9B6CFF !h-48px py-18px">
             <NuxtLink :to="`/blog/${item.blogSlug}`">
               Learn More
             </NuxtLink>