@cc-component/cc-ex-component 1.7.3 → 1.7.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.
|
@@ -77,12 +77,15 @@ export class BaseWindow extends BaseReference {
|
|
|
77
77
|
.to(0.1, { scale: new Vec3(1.028, 1.028, 1.028) })
|
|
78
78
|
.to(0.1, { scale: new Vec3(0.001, 0.001, 0.001) })
|
|
79
79
|
.call(() => {
|
|
80
|
-
this.
|
|
81
|
-
setTimeout(() => { if (this.node && this.node.isValid) { this.destroyWindow() } });
|
|
80
|
+
this.destroyNode()
|
|
82
81
|
})
|
|
83
82
|
.start();
|
|
84
83
|
}
|
|
85
84
|
|
|
85
|
+
destroyNode() {
|
|
86
|
+
this.paramClose?.param?.finish()
|
|
87
|
+
setTimeout(() => { if (this.node && this.node.isValid) { this.destroyWindow() } });
|
|
88
|
+
}
|
|
86
89
|
/**关闭事件-当系统级关闭所有打开的界面时。如果关闭界面时需要执行自己的业务逻辑,重写此方法
|
|
87
90
|
* eventName:关闭方法名称
|
|
88
91
|
* param:参数
|