Ver Fonte

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

lifanagju_citu há 11 meses atrás
pai
commit
bf9f5613cf

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

@@ -34,7 +34,7 @@ const items = ref([])
 // 推荐职位
 // 推荐职位
 const getPositionList = async () => {
 const getPositionList = async () => {
   const api = tab.value === 1 ? getPromotedPosition : (tab.value === 2 ? getLatestPosition : getUrgentPosition)
   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)
   items.value = dealDictArrayData([], list)
 }
 }
 getPositionList()
 getPositionList()