fix
This commit is contained in:
@@ -87,6 +87,10 @@ export class PurchasePanel extends li_BaseView {
|
|||||||
this.createOrRefreshWeb3PayPanel
|
this.createOrRefreshWeb3PayPanel
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Utils.addInnerEL(InnerMsgCode.LanguageChange, this, () => {
|
||||||
|
this.onVipExpireChange();
|
||||||
|
});
|
||||||
|
|
||||||
for (let index = 0; index < this.items.length; index++) {
|
for (let index = 0; index < this.items.length; index++) {
|
||||||
const element = this.items[index];
|
const element = this.items[index];
|
||||||
element.init(this);
|
element.init(this);
|
||||||
@@ -333,9 +337,12 @@ export class PurchasePanel extends li_BaseView {
|
|||||||
Utils.removeInnerEL(InnerMsgCode.VipExpireChange, this, () => {
|
Utils.removeInnerEL(InnerMsgCode.VipExpireChange, this, () => {
|
||||||
this.onVipExpireChange();
|
this.onVipExpireChange();
|
||||||
});
|
});
|
||||||
Utils.addInnerEL(InnerMsgCode.PayOrderCreateSucc, this, () => {
|
Utils.removeInnerEL(InnerMsgCode.PayOrderCreateSucc, this, () => {
|
||||||
this.createOrRefreshWeb3PayPanel;
|
this.createOrRefreshWeb3PayPanel;
|
||||||
});
|
});
|
||||||
|
Utils.removeInnerEL(InnerMsgCode.LanguageChange, this, () => {
|
||||||
|
this.onVipExpireChange();
|
||||||
|
});
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -234,9 +234,9 @@ export class Web3PopPanel extends li_BaseView {
|
|||||||
|
|
||||||
SDKManager.copyToClipboard(stringToCopy, (success: boolean) => {
|
SDKManager.copyToClipboard(stringToCopy, (success: boolean) => {
|
||||||
if (success) {
|
if (success) {
|
||||||
TipsPanel.show("地址已复制到剪贴板");
|
TipsPanel.show(LanguageUtils.getText("web3panel.copyed"));
|
||||||
} else {
|
} else {
|
||||||
TipsPanel.show("复制失败,请手动复制地址");
|
TipsPanel.show(LanguageUtils.getText("web3panel.copyfail"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
+1
-1
Submodule xchat_cfg updated: e296702a5e...b076d217c1
Reference in New Issue
Block a user