@alipay/ams-checkout 0.0.1783663570-dev.0 → 0.0.1783663570-dev.1
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.
|
@@ -233,6 +233,7 @@ var ElementController = /*#__PURE__*/function () {
|
|
|
233
233
|
}, {
|
|
234
234
|
key: "initializeAndMountProcessor",
|
|
235
235
|
value: function initializeAndMountProcessor(type, selector, options) {
|
|
236
|
+
var _this$serviceMap$Log, _options$appearance;
|
|
236
237
|
this.initElementProcessors(type);
|
|
237
238
|
// 创建 iframe,拉起应用页面,同时监听全局的数据更新和获取事件
|
|
238
239
|
this.elementContainerService.mount({
|
|
@@ -248,6 +249,12 @@ var ElementController = /*#__PURE__*/function () {
|
|
|
248
249
|
ServiceProvider.getInstance(newInstanceId).update(paymentContext);
|
|
249
250
|
// 更新埋点service
|
|
250
251
|
this.serviceMap.Log = ServiceProvider.getInstance(newInstanceId).getService('Log');
|
|
252
|
+
(_this$serviceMap$Log = this.serviceMap.Log) === null || _this$serviceMap$Log === void 0 || _this$serviceMap$Log.logInfo({
|
|
253
|
+
title: 'sdk_event_appearance'
|
|
254
|
+
}, {
|
|
255
|
+
variables: options !== null && options !== void 0 && (_options$appearance = options.appearance) !== null && _options$appearance !== void 0 && _options$appearance.variables ? true : false,
|
|
256
|
+
theme: options === null || options === void 0 ? void 0 : options.theme
|
|
257
|
+
});
|
|
251
258
|
this.elementProcessors[type].beforeMount();
|
|
252
259
|
}
|
|
253
260
|
// 处理业务流程启动失败
|