Xiao_123 пре 4 месеци
родитељ
комит
8e5197d1cf
2 измењених фајлова са 1 додато и 31 уклоњено
  1. 0 30
      pagesB/jobFair/positionClassification.vue
  2. 1 1
      utils/config.js

+ 0 - 30
pagesB/jobFair/positionClassification.vue

@@ -253,12 +253,6 @@ const loadingMore = () => {
   getEntPositionList()
 }
 
-// const goBack = () => {
-// 	uni.navigateTo({
-// 		url: '/pagesB/jobFair/index'
-// 	})
-// }
-
 const entClick = (info) => {
   // 点击企业信息跳转企业职位列表(招聘会内)。如果已经在了则不跳转
   if (info?.enterpriseId && !query.enterpriseId) {
@@ -274,30 +268,6 @@ const handleShare = () => {
   if (query.enterpriseId) url = url + `&enterpriseId=${query.enterpriseId}`
 	uni.navigateTo({ url })
 }
-
-// 转发
-const getShareParams = async () => {
-  const shareParams = {
-    title: '门墩儿-招聘会',
-    path: `/pagesB/jobFair/positionClassification?jobFairId=${query.jobFairId}`,
-  }
-  try {
-    if (query.enterpriseId) {
-      shareParams.title = entName.value || shareParams.title
-      shareParams.path = shareParams.path + `&enterpriseId=${query.enterpriseId}&entName=${entName.value}`
-    } else {
-      if (!jobFairTitle.value) await getJobFairDetail() // 尝试异步获取
-      if (jobFairTitle.value) shareParams.title = jobFairTitle.value
-    }
-    
-    return shareParams
-
-  } catch (error) {
-    // 返回默认值
-    return shareParams
-  }
-}
-
 </script>
 
 <style scoped lang="scss">

+ 1 - 1
utils/config.js

@@ -13,7 +13,7 @@ const config = {
   }
 }
 
-export const envObj = config['httpsTest']
+export const envObj = config['produce']
 
 export const baseUrl = envObj.baseUrl