|
@@ -82,12 +82,14 @@ const entName = ref('')
|
|
|
const showShareBtn = ref(false)
|
|
|
|
|
|
onLoad(async (options) => {
|
|
|
- // 网站二维码分享
|
|
|
+ // 海报二维码分享
|
|
|
if (options.scene) {
|
|
|
const scene = decodeURIComponent(options.scene)
|
|
|
+ console.log(scene, 'scene')
|
|
|
const key = scene.split('=')[1]
|
|
|
if (!key) return
|
|
|
const res = await getShareQueryById({key})
|
|
|
+ console.log(res, 'result')
|
|
|
options.jobFairId = res?.data?.jobFairId
|
|
|
options.enterpriseId = res?.data?.enterpriseId
|
|
|
options.backgroundColor = res?.data?.backgroundColor
|