소스 검색

时间取值错误,应该取updateTime

lifanagju_citu 7 달 전
부모
커밋
8e1a95a324
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      components/PositionList/index.vue
  2. 1 1
      pagesB/positionDetail/index.vue

+ 1 - 1
components/PositionList/index.vue

@@ -46,7 +46,7 @@
               custom-style="background-color: #e2f0ef; color:#00897B; border-color:#e2f0ef;"
             />
           </view>
-          <view class="font-size-13 color-999" style="text-align: end;">发布时间:{{ timesTampChange(item.job.createTime, 'Y-M-D h:m') }}</view>
+          <view class="font-size-13 color-999" style="text-align: end;">发布时间:{{ timesTampChange(item.job.updateTime, 'Y-M-D h:m') }}</view>
         </view>
         <!-- 企业信息 -->
         <view class="sub-li-bottom">

+ 1 - 1
pagesB/positionDetail/index.vue

@@ -42,7 +42,7 @@
             <view class="iconfont icon-a-1_zhaopin" style="color: #e03506; font-size: 30px;"></view>
             <view class="hirePrice">{{ `赏金:${commissionCalculation(info.hirePrice / 100, 1)}元` }}</view>
           </view>
-          <view class="font-size-13 color-999 ss-m-t-10" style="text-align: end;">发布时间:{{ timesTampChange(info.createTime, 'Y-M-D h:m') }}</view>
+          <view class="font-size-13 color-999 ss-m-t-10" style="text-align: end;">发布时间:{{ timesTampChange(info.updateTime, 'Y-M-D h:m') }}</view>
           <!-- 企业信息 -->
           <view class="topLine mt-5 d-flex" @click="handleToEnterprise">
             <view class="avatarBox">