update
This commit is contained in:
@@ -47,6 +47,10 @@ export class PurchasePanel extends li_BaseView {
|
||||
web3BtnSelecting;
|
||||
web3BtnNotSelect;
|
||||
|
||||
base: Node;
|
||||
openUIDataCT(data: any): void {
|
||||
this.base = data.base;
|
||||
}
|
||||
onLoadCT(): void {
|
||||
this.node.active = false;
|
||||
this.scheduleOnce(() => {
|
||||
@@ -203,23 +207,16 @@ export class PurchasePanel extends li_BaseView {
|
||||
payType: param.payType,
|
||||
goodId: param.goodId,
|
||||
networkType: this.getDefaultNetworkType(),
|
||||
base: this,
|
||||
base: this.base,
|
||||
};
|
||||
|
||||
if (
|
||||
NavigationManager.Instance.getCurrentActivePanel() == PanelType.PERSONAL
|
||||
)
|
||||
if (this.web3PopPanel == null)
|
||||
NavigationManager.Instance.openSubPanel(
|
||||
"Web3PopPanel",
|
||||
this.node,
|
||||
data
|
||||
);
|
||||
else {
|
||||
data.networkType = undefined;
|
||||
this.web3PopPanel.refreshData(data);
|
||||
this.web3PopPanel.refreshView();
|
||||
}
|
||||
if (this.web3PopPanel == null)
|
||||
NavigationManager.Instance.openSubPanel("Web3PopPanel", this.base, data);
|
||||
else {
|
||||
data.networkType = undefined;
|
||||
this.web3PopPanel.refreshData(data);
|
||||
this.web3PopPanel.refreshView();
|
||||
}
|
||||
}
|
||||
|
||||
getPlayerMerData() {
|
||||
|
||||
Reference in New Issue
Block a user