@conecli/cone-render 0.9.1-shop2.2 → 0.9.1-shop2.20
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/api/index.ts +1 -1
- package/dist/common/const.ts +1 -1
- package/dist/common/environmentType.ts +1 -0
- 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/jdplayerSdk.ts +1 -0
- package/dist/common/jssdk.ts +1 -0
- package/dist/common/pageType.ts +1 -0
- package/dist/common/sgmCustomCode.ts +1 -0
- package/dist/common/token/index.h5.ts +1 -1
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/common/token/token.ts +1 -1
- package/dist/common/wxappApi.jd.ts +1 -0
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index.jd.tsx +1 -0
- package/dist/components/base/CustomScrollView/index.module.scss +7 -0
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/Dialog/index.module.scss +5 -0
- package/dist/components/base/Dialog/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/InOrOutViewObserver/index.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/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/const.ts +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.module.scss +23 -20
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.module.scss +17 -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 +7 -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 +32 -2
- package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
- package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
- package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
- package/dist/components/floorItem.jd.tsx +1 -1
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/floorItem.weapp.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/interface/jumpEventReport.ts +1 -1
- package/dist/interface/service.ts +1 -1
- package/dist/interface/utils.ts +1 -1
- package/dist/jumpEventReport/base.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.jd.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.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.jxwxapp.ts +1 -0
- package/dist/jumpEventReport/web.tjapp.ts +1 -0
- package/dist/jumpEventReport/web.tjm.ts +1 -0
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/modules/ContainerFloorList/index.h5.module.scss +18 -1
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/device.ts +1 -1
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/index.ts +1 -1
- package/dist/open/api/jump copy.ts +1 -1
- package/dist/open/api/request.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/track.ts +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/sass/app.h5.scss +49 -3
- package/dist/sass/base.scss +57 -0
- 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/draExceptionAndProfile.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/sgmCodeUtils.ts +1 -0
- package/dist/utils/taroRenderUtil.ts +1 -1
- package/dist/utils/utils.ts +1 -1
- package/package.json +1 -1
- package/dist/customHooks/useDocumentVisibilitychange.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import { JdJumpJdApp } from './jdJumpJdApp'
|
|
2
1
|
routerInfo: {
|
|
3
2
|
params: {},
|
|
4
3
|
},
|
|
5
4
|
nativeEvent: null,
|
|
6
5
|
jumpConfig: {
|
|
7
6
|
venderId: null,
|
|
8
7
|
shopId: null,
|
|
9
8
|
sourceValue: '',
|
|
10
9
|
sourceType: 'App-H5',
|
|
11
10
|
activityType: 'shopx',
|
|
12
11
|
moduleId: 'none',
|
|
13
12
|
entrance: 'none',
|
|
14
13
|
},
|
|
15
14
|
logPageParamStr: '',
|
|
16
15
|
public logPageId: string
|
|
17
16
|
public jumpConfig: JumpEventReportInterFace.JumpH5ReportConfig
|
|
18
17
|
constructor(opt = {}) {
|
|
19
18
|
console.log('jdb加载==========')
|
|
20
19
|
super(opt)
|
|
21
20
|
this.getConfig(opt)
|
|
22
21
|
}
|
|
23
22
|
jdbOpenAppParams(openAppUrl): Object | boolean {
|
|
24
23
|
let getParams: boolean | Object = false
|
|
25
24
|
if (this.isOpenJdbAppUrl(openAppUrl)) {
|
|
26
25
|
try {
|
|
27
26
|
getParams = openAppUrl.replace(
|
|
28
27
|
/openApp\.jdbmall:\/\/virtual\?params=/i,
|
|
29
28
|
'',
|
|
30
29
|
)
|
|
31
30
|
getParams = JSON.parse(String(getParams))
|
|
32
31
|
} catch (e) {
|
|
33
32
|
console.log(e)
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
35
|
return getParams
|
|
37
36
|
}
|
|
38
37
|
isOpenJdbAppUrl(openAppUrl) {
|
|
39
38
|
return /openApp\.jdbmall:\/\/virtual\?params=/i.test(openAppUrl)
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
async jdJumpConfigUrl(detail, logEventInfo = {}) {
|
|
43
42
|
const { configDataType, configDataValue } = detail
|
|
44
43
|
switch (configDataType) {
|
|
45
44
|
case LinkConfigType.CONFIG_TYPE_SKU_LIST:
|
|
46
45
|
this.jdJumpToProduct(
|
|
47
46
|
{
|
|
48
47
|
...configDataValue,
|
|
49
48
|
skuId: configDataValue.skuIds,
|
|
50
49
|
skuUniformBizInfo: { buId: configDataValue.buId },
|
|
51
50
|
},
|
|
52
51
|
logEventInfo,
|
|
53
52
|
)
|
|
54
53
|
break
|
|
55
54
|
case LinkConfigType.CONFIG_TYPE_CUSTOM_LINK: {
|
|
56
55
|
const _url = configDataValue.linkUrl
|
|
57
56
|
if (this.isOpenJdbAppUrl(_url)) {
|
|
58
57
|
const getOpenAppParams = this.jdbOpenAppParams(_url)
|
|
59
58
|
console.log('jd web 获取自定义链接解析后的参数结果', getOpenAppParams)
|
|
60
59
|
if (getOpenAppParams) {
|
|
61
60
|
this.jdNavigateToNative(
|
|
62
61
|
Object.assign({}, getOpenAppParams, {
|
|
63
62
|
logEventInfo,
|
|
64
63
|
}),
|
|
65
64
|
)
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
break
|
|
69
68
|
}
|
|
70
69
|
default:
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
72
|
|
|
74
73
|
jdJumpToProduct(skuParams, logEventInfo) {
|
|
75
74
|
if (typeof skuParams !== 'object') {
|
|
76
75
|
console.error('万商app跳转商品详情参数需要对象,详情请查看文档')
|
|
77
76
|
return
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
let { skuId, bMallTag = '1', skuUniformBizInfo } = skuParams
|
|
81
80
|
skuId = skuId.toString().trim()
|
|
82
81
|
this.jdNavigateToNative({
|
|
83
82
|
category: 'jump',
|
|
84
83
|
des: 'skudetail',
|
|
85
84
|
param: {
|
|
86
85
|
skuId: skuId,
|
|
87
86
|
bMallTag: bMallTag,
|
|
88
87
|
skuUniformBizInfo,
|
|
89
88
|
},
|
|
90
89
|
logEventInfo,
|
|
91
90
|
})
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
jdNavigateToNative(
|
|
95
94
|
params: {},
|
|
96
95
|
url = OpenAppHost,
|
|
97
96
|
successBack?: Function | null,
|
|
98
97
|
failBack?: Function | null,
|
|
99
98
|
) {
|
|
100
99
|
console.log('jdb web', params)
|
|
101
100
|
const getResParams: JumpEventReportInterFace.JdMiniJumpParams =
|
|
102
101
|
Object.assign(
|
|
103
102
|
{},
|
|
104
103
|
{
|
|
105
104
|
param: {},
|
|
106
105
|
},
|
|
107
106
|
params,
|
|
108
107
|
)
|
|
109
108
|
const { logEventInfo, ...otherParams } = getResParams
|
|
110
109
|
console.log(
|
|
111
110
|
'jdb web 获取open协议参数 jdNavigateToNative params: ',
|
|
112
111
|
otherParams,
|
|
113
112
|
)
|
|
114
113
|
console.log('logEventInfo params: ', logEventInfo)
|
|
115
114
|
console.log('otherParams', otherParams)
|
|
116
115
|
const paramsStr = JSON.stringify(otherParams)
|
|
117
116
|
console.log('跳转web jdb open协议', `${url}?params=${paramsStr}`)
|
|
118
117
|
global.info.pageInfo.dataType === BUSINESS_TYPE.ONLINE &&
|
|
119
118
|
this.clickEventLog(logEventInfo || getResParams)
|
|
120
119
|
.then(() => {
|
|
121
120
|
if (typeof successBack == 'function') {
|
|
122
121
|
successBack(getResParams)
|
|
123
122
|
} else {
|
|
124
123
|
try {
|
|
125
124
|
const paramsStr = JSON.stringify(otherParams)
|
|
126
125
|
console.log(
|
|
127
126
|
'success: 跳转web jdb open协议',
|
|
128
127
|
`${url}?params=${paramsStr}`,
|
|
129
128
|
)
|
|
130
129
|
window.location.href = `${url}?params=${paramsStr}`
|
|
131
130
|
} catch (e) {
|
|
132
131
|
console.log('跳转异常', e)
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
134
|
})
|
|
136
135
|
.catch((e) => {
|
|
137
136
|
console.log('catch', e)
|
|
138
137
|
typeof failBack == 'function' && failBack(getResParams)
|
|
139
138
|
})
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
clickEventLog(
|
|
143
142
|
opts: JumpEventReportInterFace.OptEventLogParams = {},
|
|
144
143
|
reportKey = 'click',
|
|
145
144
|
) {
|
|
146
145
|
const { eventId, jsonParam, eventLevel = 3, ...otherParams } = opts
|
|
147
146
|
if (eventId && jsonParam) {
|
|
148
147
|
const { etModelInfo, logBaseInfo } = jsonParam
|
|
149
148
|
const webLogParams = {
|
|
150
149
|
eid: eventId,
|
|
151
150
|
elevel: eventLevel,
|
|
152
151
|
eparam:JSON.stringify(logBaseInfo || jsonParam),
|
|
153
152
|
jsonParam: JSON.stringify(logBaseInfo || jsonParam),
|
|
154
153
|
etModel: JSON.stringify(etModelInfo || {}),
|
|
155
154
|
pageId: this.logPageId,
|
|
156
155
|
pageParam: this.logPageParamStr,
|
|
157
156
|
...otherParams,
|
|
158
157
|
}
|
|
159
158
|
return /click|exposure/.test(reportKey)
|
|
160
159
|
? reportClick(webLogParams)
|
|
161
160
|
: reportToCart(opts,webLogParams)
|
|
162
161
|
} else {
|
|
163
162
|
console.log('暂无埋点参数eventId和eventParam')
|
|
164
163
|
return Promise.resolve(false)
|
|
165
164
|
}
|
|
166
165
|
}
|
|
167
166
|
getConfig(opt = {}) {
|
|
168
167
|
return Object.assign(this, {}, defaultConfig, opt)
|
|
169
168
|
}
|
|
169
|
+
import { JdJumpJdApp } from './jdJumpJdApp'
|
|
170
170
|
routerInfo: {
|
|
171
171
|
params: {},
|
|
172
172
|
},
|
|
173
173
|
nativeEvent: null,
|
|
174
174
|
jumpConfig: {
|
|
175
175
|
venderId: null,
|
|
176
176
|
shopId: null,
|
|
177
177
|
sourceValue: '',
|
|
178
178
|
sourceType: 'App-H5',
|
|
179
179
|
activityType: 'shopx',
|
|
180
180
|
moduleId: 'none',
|
|
181
181
|
entrance: 'none',
|
|
182
182
|
},
|
|
183
183
|
logPageParamStr: '',
|
|
184
184
|
public logPageId: string
|
|
185
185
|
public jumpConfig: JumpEventReportInterFace.JumpH5ReportConfig
|
|
186
186
|
constructor(opt = {}) {
|
|
187
187
|
console.log('jdb加载==========')
|
|
188
188
|
super(opt)
|
|
189
189
|
this.getConfig(opt)
|
|
190
190
|
}
|
|
191
191
|
jdbOpenAppParams(openAppUrl): Object | boolean {
|
|
192
192
|
let getParams: boolean | Object = false
|
|
193
193
|
if (this.isOpenJdbAppUrl(openAppUrl)) {
|
|
194
194
|
try {
|
|
195
195
|
getParams = openAppUrl.replace(
|
|
196
196
|
/openApp\.jdbmall:\/\/virtual\?params=/i,
|
|
197
197
|
'',
|
|
198
198
|
)
|
|
199
199
|
getParams = JSON.parse(String(getParams))
|
|
200
200
|
} catch (e) {
|
|
201
201
|
console.log(e)
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
return getParams
|
|
205
205
|
}
|
|
206
206
|
isOpenJdbAppUrl(openAppUrl) {
|
|
207
207
|
return /openApp\.jdbmall:\/\/virtual\?params=/i.test(openAppUrl)
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
async jdJumpConfigUrl(detail, logEventInfo = {}) {
|
|
211
211
|
const { configDataType, configDataValue } = detail
|
|
212
212
|
switch (configDataType) {
|
|
213
213
|
case LinkConfigType.CONFIG_TYPE_SKU_LIST:
|
|
214
214
|
this.jdJumpToProduct(
|
|
215
215
|
{
|
|
216
216
|
...configDataValue,
|
|
217
217
|
skuId: configDataValue.skuIds,
|
|
218
218
|
skuUniformBizInfo: { buId: configDataValue.buId },
|
|
219
219
|
},
|
|
220
220
|
logEventInfo,
|
|
221
221
|
)
|
|
222
222
|
break
|
|
223
223
|
case LinkConfigType.CONFIG_TYPE_CUSTOM_LINK: {
|
|
224
224
|
const _url = configDataValue.linkUrl
|
|
225
225
|
if (this.isOpenJdbAppUrl(_url)) {
|
|
226
226
|
const getOpenAppParams = this.jdbOpenAppParams(_url)
|
|
227
227
|
console.log('jd web 获取自定义链接解析后的参数结果', getOpenAppParams)
|
|
228
228
|
if (getOpenAppParams) {
|
|
229
229
|
this.jdNavigateToNative(
|
|
230
230
|
Object.assign({}, getOpenAppParams, {
|
|
231
231
|
logEventInfo,
|
|
232
232
|
}),
|
|
233
233
|
)
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
break
|
|
237
237
|
}
|
|
238
238
|
default:
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
jdJumpToProduct(skuParams, logEventInfo) {
|
|
243
243
|
if (typeof skuParams !== 'object') {
|
|
244
244
|
console.error('万商app跳转商品详情参数需要对象,详情请查看文档')
|
|
245
245
|
return
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
let { skuId, bMallTag = '1', skuUniformBizInfo } = skuParams
|
|
249
249
|
skuId = skuId.toString().trim()
|
|
250
250
|
this.jdNavigateToNative({
|
|
251
251
|
category: 'jump',
|
|
252
252
|
des: 'skudetail',
|
|
253
253
|
param: {
|
|
254
254
|
skuId: skuId,
|
|
255
255
|
bMallTag: bMallTag,
|
|
256
256
|
skuUniformBizInfo,
|
|
257
257
|
},
|
|
258
258
|
logEventInfo,
|
|
259
259
|
})
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
jdNavigateToNative(
|
|
263
263
|
params: {},
|
|
264
264
|
url = OpenAppHost,
|
|
265
265
|
successBack?: Function | null,
|
|
266
266
|
failBack?: Function | null,
|
|
267
267
|
) {
|
|
268
268
|
console.log('jdb web', params)
|
|
269
269
|
const getResParams: JumpEventReportInterFace.JdMiniJumpParams =
|
|
270
270
|
Object.assign(
|
|
271
271
|
{},
|
|
272
272
|
{
|
|
273
273
|
param: {},
|
|
274
274
|
},
|
|
275
275
|
params,
|
|
276
276
|
)
|
|
277
277
|
const { logEventInfo, ...otherParams } = getResParams
|
|
278
278
|
console.log(
|
|
279
279
|
'jdb web 获取open协议参数 jdNavigateToNative params: ',
|
|
280
280
|
otherParams,
|
|
281
281
|
)
|
|
282
282
|
console.log('logEventInfo params: ', logEventInfo)
|
|
283
283
|
console.log('otherParams', otherParams)
|
|
284
284
|
const paramsStr = JSON.stringify(otherParams)
|
|
285
285
|
console.log('跳转web jdb open协议', `${url}?params=${paramsStr}`)
|
|
286
286
|
global.info.pageInfo.dataType === BUSINESS_TYPE.ONLINE &&
|
|
287
287
|
this.clickEventLog(logEventInfo || getResParams)
|
|
288
288
|
.then(() => {
|
|
289
289
|
if (typeof successBack == 'function') {
|
|
290
290
|
successBack(getResParams)
|
|
291
291
|
} else {
|
|
292
292
|
try {
|
|
293
293
|
const paramsStr = JSON.stringify(otherParams)
|
|
294
294
|
console.log(
|
|
295
295
|
'success: 跳转web jdb open协议',
|
|
296
296
|
`${url}?params=${paramsStr}`,
|
|
297
297
|
)
|
|
298
298
|
window.location.href = `${url}?params=${paramsStr}`
|
|
299
299
|
} catch (e) {
|
|
300
300
|
console.log('跳转异常', e)
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
})
|
|
304
304
|
.catch((e) => {
|
|
305
305
|
console.log('catch', e)
|
|
306
306
|
typeof failBack == 'function' && failBack(getResParams)
|
|
307
307
|
})
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
clickEventLog(
|
|
311
311
|
opts: JumpEventReportInterFace.OptEventLogParams = {},
|
|
312
312
|
reportKey = 'click',
|
|
313
313
|
) {
|
|
314
314
|
const { eventId, jsonParam, eventLevel = 3, ...otherParams } = opts
|
|
315
315
|
if (eventId && jsonParam) {
|
|
316
316
|
const { etModelInfo, logBaseInfo } = jsonParam
|
|
317
317
|
let getJsonParam = {}
|
|
318
318
|
if (etModelInfo && logBaseInfo) {
|
|
319
319
|
getJsonParam = logBaseInfo
|
|
320
320
|
} else {
|
|
321
321
|
if (Array.isArray(jsonParam)){
|
|
322
322
|
getJsonParam = jsonParam
|
|
323
323
|
} else {
|
|
324
324
|
getJsonParam = Object.assign(
|
|
325
325
|
{},
|
|
326
326
|
{
|
|
327
327
|
shopid: global.info.queryInfo?.shopId,
|
|
328
328
|
},
|
|
329
329
|
jsonParam,
|
|
330
330
|
)
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
const webLogParams = {
|
|
334
334
|
eid: eventId,
|
|
335
335
|
elevel: eventLevel,
|
|
336
336
|
eparam:JSON.stringify(getJsonParam),
|
|
337
337
|
jsonParam: JSON.stringify(getJsonParam),
|
|
338
338
|
etModel: JSON.stringify(etModelInfo || {}),
|
|
339
339
|
pageId: this.logPageId,
|
|
340
340
|
pageParam: this.logPageParamStr,
|
|
341
341
|
...otherParams,
|
|
342
342
|
}
|
|
343
343
|
return /click|exposure/.test(reportKey)
|
|
344
344
|
? reportClick(webLogParams)
|
|
345
345
|
: reportToCart(opts,webLogParams)
|
|
346
346
|
} else {
|
|
347
347
|
console.log('暂无埋点参数eventId和eventParam')
|
|
348
348
|
return Promise.resolve(false)
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
getConfig(opt = {}) {
|
|
352
352
|
return Object.assign(this, {}, defaultConfig, opt)
|
|
353
353
|
}
|