소스 검색

招聘会标题

Xiao_123 5 달 전
부모
커밋
ea6e2d1569
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/recruit/enterprise/jobFair/detailsBox.vue

+ 1 - 1
src/views/recruit/enterprise/jobFair/detailsBox.vue

@@ -14,7 +14,7 @@ const route = useRoute()
 
 const getMsg = async () => {
   const res = await getJobFair(route.params.id)
-  route.matched[1].meta.title = res.title.split('<p>').join('')
+  route.matched[1].meta.title = res.title.replace(/<\/?p[^>]*>/gi, '')
   system.setBreadcrumbs(route.matched, route.fullPath)
 }
 getMsg()