Xiao_123 il y a 9 mois
Parent
commit
9e9f7c6ad7

+ 3 - 2
src/views/recruit/personal/PersonalCenter/components/interviewSchedule.vue

@@ -3,10 +3,10 @@
   <div style="height: 100%; overflow: hidden;background-color: var(--default-bgc);">
     <div class="white-bgc px-3 py-5" style="font-size: 16px; display: flex; justify-content: space-between; border-bottom: 1px solid #e3e3e3;">
       <div>面试日程</div>
-      <div class="defaultLink" @click="handleMore">查看全部</div>
+      <div v-if="props.dataList.length" class="defaultLink" @click="handleMore">查看全部</div>
     </div>
     <!-- 滚动区域 -->
-     <div class="" style="height: calc(100% - 86px); overflow-y: auto;">
+     <div v-if="props.dataList.length" class="" style="height: calc(100% - 86px); overflow-y: auto;">
       <div v-for="val in props.dataList" :key="'schedule' + val">
         <div class="color-666 px-8 py-3" style="">{{ timesTampChange(val?.time, 'M月D日') || '--' }}</div>
         <div class="white-bgc pa-6">
@@ -51,6 +51,7 @@
       </div>
       <div class="text-center color-666 my-8" style="cursor: pointer;" @click="handleMore">{{ $t('common.more') }}</div>
      </div>
+     <Empty v-else :elevation="false"></Empty>
   </div>
 </template>