|
@@ -57,7 +57,7 @@ export default (ChildComponent) => (props) => {
|
57
|
57
|
useEffect(() => {
|
58
|
58
|
if (isSinglePage) return;
|
59
|
59
|
|
60
|
|
- reportCustomer(person, consultant, false).catch(() => {})
|
|
60
|
+ reportCustomer(person, consultant, false).catch(() => { })
|
61
|
61
|
}, [person, consultant, isSinglePage])
|
62
|
62
|
|
63
|
63
|
// 请求埋点设置
|
|
@@ -67,7 +67,7 @@ export default (ChildComponent) => (props) => {
|
67
|
67
|
if (id) {
|
68
|
68
|
setShareContent({})
|
69
|
69
|
}
|
70
|
|
- } ,[id, page.type, isSinglePage])
|
|
70
|
+ }, [id, page.type, isSinglePage])
|
71
|
71
|
|
72
|
72
|
// 埋点数据
|
73
|
73
|
useEffect(() => {
|
|
@@ -91,13 +91,13 @@ export default (ChildComponent) => (props) => {
|
91
|
91
|
|
92
|
92
|
useEffect(() => {
|
93
|
93
|
setLoading((!person || !person.personId) || (scene && !qrInited))
|
94
|
|
- // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
94
|
+ // eslint-disable-next-line react-hooks/exhaustive-deps
|
95
|
95
|
}, [person, scene, qrInited])
|
96
|
96
|
|
97
|
97
|
return (
|
98
|
98
|
<>
|
99
|
99
|
{/* 菊花转 */}
|
100
|
|
- <Overlay visible={loading} style={{background: '#fff'}}>
|
|
100
|
+ <Overlay visible={loading} style={{ background: '#fff' }}>
|
101
|
101
|
<Loading />
|
102
|
102
|
</Overlay>
|
103
|
103
|
|
|
@@ -116,7 +116,7 @@ export default (ChildComponent) => (props) => {
|
116
|
116
|
</Overlay>
|
117
|
117
|
|
118
|
118
|
{/* 授权头像-全屏 */}
|
119
|
|
- { authPage && !isSinglePage && <AuthPage consultant={consultant} router={router} page={page} /> }
|
|
119
|
+ {authPage && !isSinglePage && <AuthPage consultant={consultant} router={router} page={page} />}
|
120
|
120
|
|
121
|
121
|
{/* 显示分享朋友圈 */}
|
122
|
122
|
<ShareToCircle visible={shareTimelineVisible && !isSinglePage} onClose={() => setShareTimelineVisible(false)} />
|