|
@@ -240,6 +240,10 @@ const loadingMore = () => {
|
|
|
onLoad(async (options) => {
|
|
|
id.value = options?.id || ''
|
|
|
if (id.value) await getData()
|
|
|
+ if (options?.index) {
|
|
|
+ current.value = Number(options?.index)
|
|
|
+ if (current.value === 1) getPositionList()
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
wx.showShareMenu({
|
|
@@ -252,7 +256,7 @@ onShareAppMessage(() => {
|
|
|
}
|
|
|
return {
|
|
|
title: title.value || '门墩儿 专注顶尖招聘',
|
|
|
- path: '/pagesB/companyDetail/index?id=' + id.value
|
|
|
+ path: `/pagesB/companyDetail/index?id=${id.value}&index=${current.value}`
|
|
|
}
|
|
|
})
|
|
|
onShareTimeline(() => {
|
|
@@ -261,7 +265,7 @@ onShareTimeline(() => {
|
|
|
}
|
|
|
return {
|
|
|
title: title.value || '门墩儿 专注顶尖招聘',
|
|
|
- path: '/pagesB/companyDetail/index?id=' + id.value
|
|
|
+ path: `/pagesB/companyDetail/index?id=${id.value}&index=${current.value}`
|
|
|
}
|
|
|
})
|
|
|
|