@conecli/cone-render 0.8.15-beta.52 → 0.8.15-beta.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
import Taro from '@tarojs/taro'
|
|
2
1
|
const inViewCallback = () => {
|
|
3
2
|
console.log('埋点收到进入可视区域的回到啦!', reportData)
|
|
4
3
|
addReportData(reportData)
|
|
5
4
|
}
|
|
6
5
|
exposureStyle.root,
|
|
7
6
|
className,
|
|
8
7
|
)} height={'100%'} inViewCallback={inViewCallback}></InViewRender>
|
|
8
|
+
import Taro from '@tarojs/taro'
|
|
9
9
|
const inViewCallback = () => {
|
|
10
10
|
console.log('埋点收到进入可视区域的回到啦!', reportData)
|
|
11
11
|
addReportData(reportData)
|
|
12
12
|
}
|
|
13
13
|
exposureStyle.root,
|
|
14
14
|
className,
|
|
15
15
|
)} height={'100%'} inViewCallback={inViewCallback}></InViewRender>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React, { useCallback } from 'react'
|
|
1
|
+
import React, { useCallback } from 'react'
|