Browse Source

职位详情id

Xiao_123 11 tháng trước cách đây
mục cha
commit
83386f534d

+ 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`)