Browse Source

简历-旧数据职位id格式转换

Xiao_123 6 tháng trước cách đây
mục cha
commit
067bc9e6ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/recruit/enterprise/resume/components/screen.vue

+ 1 - 1
src/views/recruit/enterprise/resume/components/screen.vue

@@ -116,7 +116,7 @@ if (props.jobId) {
   const job = list.value.find(e => e.key === 'jobId')
   getJobList(job).then(data => {
     if (!data || !data.length) return
-    const id = data.find(e => e.value === props.jobId)
+    const id = data.find(e => e.value.toString() === props.jobId)
     handleClick(id, job)
   })
   if (props.hire) {