Xiao_123 11 месяцев назад
Родитель
Сommit
83386f534d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/views/Home/personal/components/hotPromotedPositions.vue

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

@@ -41,7 +41,8 @@ getPositionList()
 
 // 职位详情
 const handlePosition = (item) => {
-  window.open(`/recruit/position/details/${item.positionId}`)
+  if (!item.id) return
+  window.open(`/recruit/position/details/${item.id}`)
 }
 const handleEnterprise = (item) => {
   window.open(`/company/details/${item.enterpriseId}?key=briefIntroduction`)