|
@@ -15,7 +15,7 @@ export default withLayout((props) => {
|
15
|
15
|
const { router, shareContent, person, trackData, page, showShareTimeline, setNavigationBarTitle } = props
|
16
|
16
|
const { id } = props.router.params;
|
17
|
17
|
|
18
|
|
- const paramsRef = useParams({person, from: `${page.type}_share`})
|
|
18
|
+ const paramsRef = useParams({id, person, from: `${page.type}_share`})
|
19
|
19
|
const [data, setData] = useState(null);
|
20
|
20
|
|
21
|
21
|
|
|
@@ -26,6 +26,12 @@ export default withLayout((props) => {
|
26
|
26
|
});
|
27
|
27
|
|
28
|
28
|
const fullTrackData = { ...trackData, buildingId: data?.buildingId };
|
|
29
|
+
|
|
30
|
+ console.log('0000000000000000', {
|
|
31
|
+ title: shareContent.shareContentTitle || data?.newsName,
|
|
32
|
+ path: `${router.path}?${paramsRef.current}`,
|
|
33
|
+ image: shareContent.shareContentImg,
|
|
34
|
+ })
|
29
|
35
|
|
30
|
36
|
useShare(
|
31
|
37
|
{
|