|
@@ -66,6 +66,16 @@ export default withLayout((props) => {
|
66
|
66
|
eventType: detail.type || 'dymic',
|
67
|
67
|
targetType: detail.type || 'dymic'
|
68
|
68
|
})
|
|
69
|
+
|
|
70
|
+ useShare(
|
|
71
|
+ {
|
|
72
|
+ title: shareContent.shareContentTitle || detail?.title,
|
|
73
|
+ path: `${router.path}?${paramsRef.current}&type=${detail.type || 'dymic'}`,
|
|
74
|
+ // image: shareContent.shareContentImg || getImgURL(detail?.imgUrl),
|
|
75
|
+ image: '',
|
|
76
|
+ },
|
|
77
|
+ fullTrackData
|
|
78
|
+ );
|
69
|
79
|
}
|
70
|
80
|
}, [trackData, detail])
|
71
|
81
|
|
|
@@ -85,16 +95,6 @@ export default withLayout((props) => {
|
85
|
95
|
...trackData,
|
86
|
96
|
});
|
87
|
97
|
|
88
|
|
- useShare(
|
89
|
|
- {
|
90
|
|
- title: shareContent.shareContentTitle || detail?.title,
|
91
|
|
- path: `${router.path}?${paramsRef.current}&type=${detail.type || 'dymic'}`,
|
92
|
|
- // image: shareContent.shareContentImg || getImgURL(detail?.imgUrl),
|
93
|
|
- image: '',
|
94
|
|
- },
|
95
|
|
- fullTrackData
|
96
|
|
- );
|
97
|
|
-
|
98
|
98
|
useEffect(() => {
|
99
|
99
|
if (id) {
|
100
|
100
|
getDetail(id);
|