@alipay/ams-checkout 0.0.1744283958-dev.12 → 0.0.1744283958-dev.13
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.
@@ -26,7 +26,7 @@ import PaymentProcessor from "../../../../core/component/element/elementProcesso
|
|
26
26
|
import { IElementStatus } from "../../../../foundation";
|
27
27
|
import { AntomSDKCore } from "../../../../foundation/core";
|
28
28
|
import { ElementProcessor } from "../../../../foundation/product-processor/element";
|
29
|
-
import {
|
29
|
+
import { cleanMockup, removeRetentionPopup } from "../../../../component/component.popup.style";
|
30
30
|
import { ProductSceneEnum } from "../../../../types";
|
31
31
|
import { ElementContainerService } from "../elementContainerService"; // 引入 ElementContainerService
|
32
32
|
import { IContainerStatus } from "../elementContainerService/containerService";
|
@@ -434,13 +434,14 @@ var ElementController = /*#__PURE__*/function () {
|
|
434
434
|
}, {
|
435
435
|
key: "destroyHandle",
|
436
436
|
value: function destroyHandle() {
|
437
|
+
var _this7 = this;
|
437
438
|
this.elementContainer.destroy();
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
}
|
439
|
+
cleanMockup();
|
440
|
+
removeRetentionPopup();
|
441
|
+
setTimeout(function () {
|
442
|
+
_this7.serviceMap.EventCenter.cleanIFrames();
|
443
|
+
_this7.elementContainerService.destroy();
|
444
|
+
}, 0);
|
444
445
|
}
|
445
446
|
}, {
|
446
447
|
key: "destroy",
|