lyuis 7 ヶ月 前
コミット
d9534f15a2
1 ファイル変更2 行追加2 行削除
  1. 2 2
      pages/index/index.vue

+ 2 - 2
pages/index/index.vue

@@ -255,7 +255,7 @@
 										<view class="gwList-box-item-box-label flex align-center flex-wrap">
 											<text class="job-tag">{{item.education}}</text>
 											<text class="job-tag">{{item.experience}}</text>
-											<text class="job-tag" v-for="(ite,ind) in item.welfareTag"
+											<text class="job-tag" v-for="(ite,ind) in item.welfareTag||[]"
 												:key="ind">{{ite}}</text>
 										</view>
 										<!-- <view class="gwList-box-item-box-line"></view> -->
@@ -267,7 +267,7 @@
 													style="width: 58rpx;height: 58rpx;border-radius: 50%;" mode="">
 												</image>
 												<view class="company-info-text">
-													{{item.user.userName?item.user.userName:'未知'}}·{{item.hr.hrPosition?item.hr.hrPosition:'未知'}}
+													{{item.user&&item.user.userName||'未知'}}·{{item.hr&&item.hr.hrPosition||'未知'}}
 												</view>
 												<view v-if="item.respondTime" class="reply-time">{{item.respondTime}}
 												</view>