fix
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user