@conecli/cone-render 0.9.1-shop2.2 → 0.9.1-shop2.4
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.
- package/dist/common/const.ts +1 -1
- package/dist/common/index.h5.ts +1 -1
- package/dist/common/index.jd.ts +1 -1
- package/dist/common/index.ts +1 -1
- package/dist/common/index.weapp.ts +1 -1
- package/dist/common/jssdk.ts +1 -0
- package/dist/common/pageType.ts +1 -0
- package/dist/common/token/index.h5.ts +1 -1
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/Exposure/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
- package/dist/components/base/InViewRender/index.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/const.ts +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.module.scss +9 -0
- package/dist/components/base/MobileCommonHeader/index.tsx +1 -0
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +4 -0
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/base/Price/index.tsx +1 -1
- package/dist/components/decorate/DecorateFloorModule/index.module.scss +21 -2
- package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
- package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/components/remoteFloorItem.tsx +1 -1
- package/dist/interface/common.ts +1 -1
- package/dist/interface/component.ts +1 -1
- package/dist/jumpEventReport/const.ts +1 -1
- package/dist/jumpEventReport/createReportFloorData.ts +1 -1
- package/dist/jumpEventReport/index.h5.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web/report.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.jdb.ts +1 -1
- package/dist/jumpEventReport/web.jdjch.ts +1 -1
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/index.ts +1 -1
- package/dist/open/api/track.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/http/const.ts +1 -1
- package/dist/service/requestServer.ts +1 -1
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/index.h5.ts +1 -1
- package/dist/utils/index.ts +1 -1
- package/dist/utils/index.weapp.ts +1 -1
- package/dist/utils/jm-common.js +1 -1
- package/dist/utils/utils.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
1
|
subMessage?: string
|
|
3
2
|
floorLoadWay?: number
|
|
4
3
|
showCommonFloorHead?: boolean
|
|
5
4
|
isRealTimeRender: boolean
|
|
6
5
|
customErrorIsvFloorModule?: React.ReactElement | undefined
|
|
7
6
|
containerIndex?: number
|
|
8
7
|
containerData?: any
|
|
9
8
|
shopTotalInfo?: any
|
|
10
9
|
selectContainerFn?: Function
|
|
11
10
|
selectContainerId?: string
|
|
12
11
|
placeHolderPreContainerId?: string
|
|
13
12
|
children?: any
|
|
14
13
|
style?: {
|
|
15
14
|
[key: string]: any
|
|
16
15
|
};
|
|
17
16
|
layoutLeftRightMargin?: number
|
|
18
17
|
}
|
|
19
18
|
onFormSubmit?: Function
|
|
20
19
|
onFormReset?: Function
|
|
21
20
|
isFormDialog?: boolean
|
|
22
21
|
forbiddenBgScrollState?: boolean
|
|
22
|
+
import React from 'react'
|
|
23
23
|
subMessage?: string
|
|
24
24
|
viewMaxHeight?: string
|
|
25
25
|
floorLoadWay?: number
|
|
26
26
|
showCommonFloorHead?: boolean
|
|
27
27
|
isRealTimeRender: boolean
|
|
28
28
|
forceRenderTime: number
|
|
29
29
|
customErrorIsvFloorModule?: React.ReactElement | undefined
|
|
30
30
|
containerIndex?: number
|
|
31
31
|
containerData?: any
|
|
32
32
|
shopTotalInfo?: any
|
|
33
33
|
selectContainerFn?: Function
|
|
34
34
|
selectContainerId?: string
|
|
35
35
|
placeHolderPreContainerId?: string
|
|
36
36
|
children?: any
|
|
37
37
|
style?: {
|
|
38
38
|
[key: string]: any
|
|
39
39
|
};
|
|
40
40
|
layoutLeftRightMargin?: number
|
|
41
41
|
}
|
|
42
42
|
onFormSubmit?: Function
|
|
43
43
|
onFormReset?: Function
|
|
44
44
|
isFormDialog?: boolean
|
|
45
45
|
forbiddenBgScrollState?: boolean
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { isH5 } from '../utils'
|
|
2
1
|
? 'Terminator_New_Mobile_Shop'
|
|
3
2
|
: 'W_jdgwxcx_shop'
|
|
4
3
|
CONFIG_TYPE_NO_LINK = 0,
|
|
5
4
|
CONFIG_TYPE_SKU_LIST = 1,
|
|
6
5
|
CONFIG_TYPE_COUPON_LIST = 2,
|
|
7
6
|
CONFIG_TYPE_CATEGORY = 3,
|
|
8
7
|
CONFIG_TYPE_JSHOP_MOBILE = 4,
|
|
9
8
|
CONFIG_TYPE_JSHOP_PC = 5,
|
|
10
9
|
CONFIG_TYPE_JSHOP_DETAIL = 6,
|
|
11
10
|
CONFIG_TYPE_CUSTOM_LINK = 7,
|
|
12
11
|
CONFIG_TYPE_MEMBER = 9,
|
|
13
12
|
CONFIG_TYPE_SHOP_ACTIVITY = 10,
|
|
14
13
|
CONFIG_TYPE_SHOP_HOME = 12,
|
|
15
14
|
CONFIG_TYPE_ANCHOR_POINT = 13,
|
|
16
15
|
CONFIG_TYPE_SHOPPING_GUIDE = 17,
|
|
17
16
|
CONFIG_TYPE_MINI_PROGRAM = 18,
|
|
18
17
|
CONFIG_TYPE_FINANCE_COUPON = 22,
|
|
19
18
|
CONFIG_TYPE_CATEGORY_PAGE = 25,
|
|
19
|
+
import { isH5,isWxMinAndWxapp } from '../utils'
|
|
20
20
|
? 'Terminator_New_Mobile_Shop'
|
|
21
21
|
: 'W_jdgwxcx_shop'
|
|
22
22
|
CONFIG_TYPE_NO_LINK = 0,
|
|
23
23
|
CONFIG_TYPE_SKU_LIST = 1,
|
|
24
24
|
CONFIG_TYPE_COUPON_LIST = 2,
|
|
25
25
|
CONFIG_TYPE_CATEGORY = 3,
|
|
26
26
|
CONFIG_TYPE_JSHOP_MOBILE = 4,
|
|
27
27
|
CONFIG_TYPE_JSHOP_PC = 5,
|
|
28
28
|
CONFIG_TYPE_JSHOP_DETAIL = 6,
|
|
29
29
|
CONFIG_TYPE_CUSTOM_LINK = 7,
|
|
30
30
|
CONFIG_TYPE_MEMBER = 9,
|
|
31
31
|
CONFIG_TYPE_SHOP_ACTIVITY = 10,
|
|
32
32
|
CONFIG_TYPE_SHOP_HOME = 12,
|
|
33
33
|
CONFIG_TYPE_ANCHOR_POINT = 13,
|
|
34
34
|
CONFIG_TYPE_SHOPPING_GUIDE = 17,
|
|
35
35
|
CONFIG_TYPE_MINI_PROGRAM = 18,
|
|
36
36
|
CONFIG_TYPE_FINANCE_COUPON = 22,
|
|
37
37
|
CONFIG_TYPE_CATEGORY_PAGE = 25,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import global from '../common'
|
|
2
1
|
mdExtInfo = {}
|
|
3
2
|
pageCrowdId: mdExtInfo?.userGroupStr || '',
|
|
4
3
|
updateRecInfo(floorData, _dataDefines) {
|
|
5
4
|
const { algoId = '', userGroupStr = '' } = floorData
|
|
6
5
|
const changeRecInfo =
|
|
7
6
|
this.sectionTabData[this.sectionTabType]?.recInfo || {}
|
|
8
7
|
return Object.assign({}, this.recInfo, changeRecInfo, {
|
|
9
8
|
algoId,
|
|
10
9
|
moduleCrowdId: userGroupStr
|
|
11
10
|
})
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
updateMInfo(mInfo: any = [], floorData) {
|
|
15
14
|
const { floorExtInfo, moduleId } = floorData
|
|
16
15
|
const hasFloorInfo = floorExtInfo && moduleId
|
|
17
16
|
if(Array.isArray(mInfo)){
|
|
18
17
|
return mInfo.map((item: any) => {
|
|
19
18
|
item?.jumpUrl && (item.jumpUrl = encodeURIComponent(item.jumpUrl))
|
|
20
19
|
hasFloorInfo && (item.busid = `${floorExtInfo?.moduleFlag}@${moduleId}`)
|
|
21
20
|
return item
|
|
22
21
|
})
|
|
23
22
|
}else {
|
|
24
23
|
mInfo?.jumpUrl && (mInfo.jumpUrl = encodeURIComponent(mInfo.jumpUrl))
|
|
25
24
|
hasFloorInfo && (mInfo.busid = `${floorExtInfo?.moduleFlag}@${moduleId}`)
|
|
26
25
|
!mInfo.hasOwnProperty('pos') && (mInfo.pos = 0)
|
|
27
26
|
return Object.assign({}, this.mInfo, mInfo)
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
|
|
31
30
|
updateEtModelExposureInfo(floorData,_dataDefines,etModleArr,mInfoArr) {
|
|
32
31
|
return {
|
|
33
32
|
lstms: []
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
updateEtModelClickInfo(floorData, _dataDefines, etModleInfo = {}, mInfo) {
|
|
38
37
|
return {
|
|
39
38
|
lstm: [],
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
return mInfo === 'custom' ? etModelInfo : this.getClickEventInfo(floorData,mInfo,etModelInfo,true,true)
|
|
43
42
|
return mInfo === 'custom' ? etModelInfo : this.getExposureInfo(floorData,mInfo,etModelInfo,true,true)
|
|
44
43
|
|
|
45
44
|
getFloorPointIndexClassName(floorData, index = 0, otherTip = '') {
|
|
46
45
|
return isChartH5 ? (floorData && floorData?.uid ? `J_chart_floor_${floorData.uid}_point_${otherTip ? otherTip + '_' : ''}${index}` : '') : ''
|
|
47
46
|
}
|
|
47
|
+
import global from '../common'
|
|
48
48
|
mdExtInfo = {}
|
|
49
49
|
const getReportEntrance = isJdApp ? global.info?.openAppData?.sourceInfo?.entrance ?? entrance : entrance
|
|
50
50
|
const getReportModuleId = isJdApp ? global.info?.openAppData?.sourceInfo?.moduleId ?? moduleId : moduleId
|
|
51
51
|
pageCrowdId: mdExtInfo?.userGroupStr || '',
|
|
52
52
|
updateRecInfo(floorData, _dataDefines) {
|
|
53
53
|
const { algoId = '', userGroupStr = '' } = floorData
|
|
54
54
|
const changeRecInfo =
|
|
55
55
|
this.sectionTabData[this.sectionTabType]?.recInfo || {}
|
|
56
56
|
return Object.assign({}, this.recInfo, changeRecInfo, {
|
|
57
57
|
algoId,
|
|
58
58
|
moduleCrowdId: userGroupStr
|
|
59
59
|
})
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
updateMInfo(mInfo: any = [], floorData) {
|
|
63
63
|
const { floorExtInfo, moduleId } = floorData
|
|
64
64
|
const hasFloorInfo = floorExtInfo && moduleId
|
|
65
65
|
if(Array.isArray(mInfo)){
|
|
66
66
|
return mInfo.map((item: any) => {
|
|
67
67
|
if(item?.jumpUrl){
|
|
68
68
|
item.jumpUrl = /openApp\.jdMobile/i.test(item.jumpUrl) ? 'openApp' : encodeURIComponent(item.jumpUrl)
|
|
69
69
|
}
|
|
70
70
|
hasFloorInfo && (item.busid = `${floorExtInfo?.moduleFlag}@${moduleId}`)
|
|
71
71
|
return item
|
|
72
72
|
})
|
|
73
73
|
}else {
|
|
74
74
|
if(mInfo?.jumpUrl){
|
|
75
75
|
mInfo.jumpUrl = /openApp\.jdMobile/i.test(mInfo.jumpUrl) ? 'openApp' : encodeURIComponent(mInfo.jumpUrl)
|
|
76
76
|
}
|
|
77
77
|
hasFloorInfo && (mInfo.busid = `${floorExtInfo?.moduleFlag}@${moduleId}`)
|
|
78
78
|
!mInfo.hasOwnProperty('pos') && (mInfo.pos = 0)
|
|
79
79
|
return Object.assign({}, this.mInfo, mInfo)
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
updateEtModelExposureInfo(floorData,_dataDefines,etModleArr,mInfoArr) {
|
|
84
84
|
return {
|
|
85
85
|
lstms: []
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
updateEtModelClickInfo(floorData, _dataDefines, etModleInfo = {}, mInfo) {
|
|
90
90
|
return {
|
|
91
91
|
lstm: [],
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
return mInfo === 'custom' ? etModelInfo : this.getClickEventInfo(floorData,mInfo,etModelInfo,true,true)
|
|
95
95
|
return mInfo === 'custom' ? etModelInfo : this.getExposureInfo(floorData,mInfo,etModelInfo,true,true)
|
|
96
96
|
|
|
97
97
|
getCustomClickEventInfo(mInfo = {},floorData = {}, etModelInfo = {}){
|
|
98
98
|
return this.getClickEventInfo(floorData,mInfo,etModelInfo,false,false)
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
getCustomExposureInfo(mInfo = {}, floorData = {}, etModelInfo = {}){
|
|
102
102
|
return this.getExposureInfo(floorData,mInfo,etModelInfo,false,false)
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
getFloorPointIndexClassName(floorData, index = 0, otherTip = '') {
|
|
106
106
|
return isChartH5 ? (floorData && floorData?.uid ? `J_chart_floor_${floorData.uid}_point_${otherTip ? otherTip + '_' : ''}${index}` : '') : ''
|
|
107
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import { isApp, getUrlQuery } from '../utils/jm-common'
|
|
2
1
|
console.log('h5', isReflexToH5, getUrlQuery(window.location.href, 'reflex'))
|
|
3
2
|
return new Promise((resolve, reject) => {
|
|
4
3
|
if (isReflexToH5) {
|
|
5
4
|
import('./web.base')
|
|
6
5
|
.then(({ JumpEventWebReport }) => {
|
|
7
6
|
if (JumpEventWebReport) {
|
|
8
7
|
console.log('加载普通浏览器h5相关跳转事件js')
|
|
9
8
|
JumpEventReport = new JumpEventWebReport({})
|
|
10
9
|
resolve(JumpEventReport)
|
|
11
10
|
}
|
|
12
11
|
})
|
|
13
12
|
.catch((err) => {
|
|
14
13
|
reject(err)
|
|
15
14
|
})
|
|
16
15
|
} else {
|
|
17
16
|
if (isApp('wx') && isApp('mp')) {
|
|
18
17
|
import('./web.wxapp')
|
|
19
18
|
.then(({ JdJumpWebToWxapp }) => {
|
|
20
19
|
if (JdJumpWebToWxapp) {
|
|
21
20
|
JumpEventReport = new JdJumpWebToWxapp({})
|
|
22
21
|
resolve(JumpEventReport)
|
|
23
22
|
}
|
|
24
23
|
})
|
|
25
24
|
.catch((err) => {
|
|
26
25
|
reject(err)
|
|
27
26
|
})
|
|
28
27
|
} else if (isApp('jd')) {
|
|
29
28
|
import('./web.jd')
|
|
30
29
|
.then(({ JdJumpWebToJdApp }) => {
|
|
31
30
|
if (JdJumpWebToJdApp) {
|
|
32
31
|
JumpEventReport = new JdJumpWebToJdApp({})
|
|
33
32
|
resolve(JumpEventReport)
|
|
34
33
|
}
|
|
35
34
|
})
|
|
36
35
|
.catch((err) => {
|
|
37
36
|
reject(err)
|
|
38
37
|
})
|
|
39
38
|
} else if (isApp('jdb')) {
|
|
40
39
|
import('./web.jdb')
|
|
41
40
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
42
41
|
if (JdbJumpWebToJdbApp) {
|
|
43
42
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
44
43
|
resolve(JumpEventReport)
|
|
45
44
|
}
|
|
46
45
|
})
|
|
47
46
|
.catch((err) => {
|
|
48
47
|
reject(err)
|
|
49
48
|
})
|
|
50
49
|
} else if (isApp('jdjch')) {
|
|
51
50
|
import('./web.jdjch')
|
|
52
51
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
53
52
|
if (JdbJumpWebToJdbApp) {
|
|
54
53
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
55
54
|
resolve(JumpEventReport)
|
|
56
55
|
}
|
|
57
56
|
})
|
|
58
57
|
.catch((err) => {
|
|
59
58
|
reject(err)
|
|
60
59
|
})
|
|
61
60
|
} else if (isPc) {
|
|
62
61
|
import('./web.pc')
|
|
63
62
|
.then(({ JumpEventWebReport }) => {
|
|
64
63
|
if (JumpEventWebReport) {
|
|
65
64
|
JumpEventReport = new JumpEventWebReport({})
|
|
66
65
|
resolve(JumpEventReport)
|
|
67
66
|
}
|
|
68
67
|
})
|
|
69
68
|
.catch((err) => {
|
|
70
69
|
reject(err)
|
|
71
70
|
})
|
|
72
71
|
} else {
|
|
73
72
|
import('./web.base')
|
|
74
73
|
.then(({ JumpEventWebReport }) => {
|
|
75
74
|
if (JumpEventWebReport) {
|
|
76
75
|
JumpEventReport = new JumpEventWebReport({})
|
|
77
76
|
resolve(JumpEventReport)
|
|
78
77
|
}
|
|
79
78
|
})
|
|
80
79
|
.catch((err) => {
|
|
81
80
|
reject(err)
|
|
82
81
|
})
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
})
|
|
85
|
+
import { isApp, getUrlQuery } from '../utils/jm-common'
|
|
86
86
|
console.log('h5', isReflexToH5, getUrlQuery(window.location.href, 'reflex'))
|
|
87
87
|
return new Promise((resolve, reject) => {
|
|
88
88
|
if (isReflexToH5) {
|
|
89
89
|
import('./web.base')
|
|
90
90
|
.then(({ JumpEventWebReport }) => {
|
|
91
91
|
if (JumpEventWebReport) {
|
|
92
92
|
console.log('加载普通浏览器h5相关跳转事件js')
|
|
93
93
|
JumpEventReport = new JumpEventWebReport({})
|
|
94
94
|
resolve(JumpEventReport)
|
|
95
95
|
}
|
|
96
96
|
})
|
|
97
97
|
.catch((err) => {
|
|
98
98
|
reject(err)
|
|
99
99
|
})
|
|
100
100
|
} else {
|
|
101
101
|
if (isApp('wx') && isApp('mp')) {
|
|
102
102
|
import('./web.wxapp')
|
|
103
103
|
.then(({ JdJumpWebToWxapp }) => {
|
|
104
104
|
if (JdJumpWebToWxapp) {
|
|
105
105
|
JumpEventReport = new JdJumpWebToWxapp({})
|
|
106
106
|
resolve(JumpEventReport)
|
|
107
107
|
}
|
|
108
108
|
})
|
|
109
109
|
.catch((err) => {
|
|
110
110
|
reject(err)
|
|
111
111
|
})
|
|
112
112
|
} else if (isApp('jd') && !isApp('jdharmony')) {
|
|
113
113
|
import('./web.jd')
|
|
114
114
|
.then(({ JdJumpWebToJdApp }) => {
|
|
115
115
|
if (JdJumpWebToJdApp) {
|
|
116
116
|
JumpEventReport = new JdJumpWebToJdApp({})
|
|
117
117
|
resolve(JumpEventReport)
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
.catch((err) => {
|
|
121
121
|
reject(err)
|
|
122
122
|
})
|
|
123
123
|
} else if (isApp('jdb')) {
|
|
124
124
|
import('./web.jdb')
|
|
125
125
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
126
126
|
if (JdbJumpWebToJdbApp) {
|
|
127
127
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
128
128
|
resolve(JumpEventReport)
|
|
129
129
|
}
|
|
130
130
|
})
|
|
131
131
|
.catch((err) => {
|
|
132
132
|
reject(err)
|
|
133
133
|
})
|
|
134
134
|
} else if (isApp('jdjch')) {
|
|
135
135
|
import('./web.jdjch')
|
|
136
136
|
.then(({ JdbJumpWebToJdbApp }) => {
|
|
137
137
|
if (JdbJumpWebToJdbApp) {
|
|
138
138
|
JumpEventReport = new JdbJumpWebToJdbApp({})
|
|
139
139
|
resolve(JumpEventReport)
|
|
140
140
|
}
|
|
141
141
|
})
|
|
142
142
|
.catch((err) => {
|
|
143
143
|
reject(err)
|
|
144
144
|
})
|
|
145
145
|
} else if (isPc) {
|
|
146
146
|
import('./web.pc')
|
|
147
147
|
.then(({ JumpEventWebReport }) => {
|
|
148
148
|
if (JumpEventWebReport) {
|
|
149
149
|
JumpEventReport = new JumpEventWebReport({})
|
|
150
150
|
resolve(JumpEventReport)
|
|
151
151
|
}
|
|
152
152
|
})
|
|
153
153
|
.catch((err) => {
|
|
154
154
|
reject(err)
|
|
155
155
|
})
|
|
156
156
|
} else {
|
|
157
157
|
import('./web.base')
|
|
158
158
|
.then(({ JumpEventWebReport }) => {
|
|
159
159
|
if (JumpEventWebReport) {
|
|
160
160
|
JumpEventReport = new JumpEventWebReport({})
|
|
161
161
|
resolve(JumpEventReport)
|
|
162
162
|
}
|
|
163
163
|
})
|
|
164
164
|
.catch((err) => {
|
|
165
165
|
reject(err)
|
|
166
166
|
})
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
})
|