Explorar o código

只带带职位id跟分享人的id

lifanagju_citu hai 10 meses
pai
achega
12d7a5b0d2

+ 0 - 3
src/views/recruit/personal/position/components/details.vue

@@ -190,9 +190,6 @@ const handleShare = async () => {
   shareUrl.value = '/shareJob?' + new URLSearchParams({
     jobId: id,
     sharedById: 'userId',
-    sharedByName: 'name',
-    sharedByPhone: 'phone',
-    file: 'file',
   }).toString()
   shareDialog.value = true
 }

+ 1 - 5
src/views/recruit/personal/shareJob/index.vue

@@ -87,11 +87,7 @@ onMounted(() => {
 // 获取路由参数
 const queryParams = new URLSearchParams(window.location.search)
 const jobId = queryParams.get('jobId') || ''
-const sharedById = queryParams.get('sharedById') || ''
-const sharedByName = queryParams.get('sharedByName') || ''
-const sharedByPhone = queryParams.get('sharedByPhone') || ''
-const file = queryParams.get('file') || ''
-console.log(jobId, sharedById, sharedByName, sharedByPhone, file)
+// const sharedById = queryParams.get('sharedById') || ''
 
 // 职位详情
 const info = ref({})