This commit is contained in:
2025-09-26 11:50:20 +08:00
parent cd5b0670a0
commit 7f96c373a9
6 changed files with 377 additions and 274 deletions
@@ -87,6 +87,10 @@ export class PurchasePanel extends li_BaseView {
this.createOrRefreshWeb3PayPanel
);
Utils.addInnerEL(InnerMsgCode.LanguageChange, this, () => {
this.onVipExpireChange();
});
for (let index = 0; index < this.items.length; index++) {
const element = this.items[index];
element.init(this);
@@ -333,9 +337,12 @@ export class PurchasePanel extends li_BaseView {
Utils.removeInnerEL(InnerMsgCode.VipExpireChange, this, () => {
this.onVipExpireChange();
});
Utils.addInnerEL(InnerMsgCode.PayOrderCreateSucc, this, () => {
Utils.removeInnerEL(InnerMsgCode.PayOrderCreateSucc, this, () => {
this.createOrRefreshWeb3PayPanel;
});
Utils.removeInnerEL(InnerMsgCode.LanguageChange, this, () => {
this.onVipExpireChange();
});
super.onDestroy();
}
}