소스 검색

数据长度改为一次请求8条

lifanagju_citu 11 달 전
부모
커밋
bf9f5613cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/Home/personal/components/hotPromotedPositions.vue

+ 1 - 1
src/views/Home/personal/components/hotPromotedPositions.vue

@@ -34,7 +34,7 @@ const items = ref([])
 // 推荐职位
 const getPositionList = async () => {
   const api = tab.value === 1 ? getPromotedPosition : (tab.value === 2 ? getLatestPosition : getUrgentPosition)
-  const { list } = await api({ pageNo: 1, pageSize: 9 })
+  const { list } = await api({ pageNo: 1, pageSize: 8 })
   items.value = dealDictArrayData([], list)
 }
 getPositionList()