fix bug
This commit is contained in:
@@ -44,10 +44,7 @@ export class PurchasePanel extends li_BaseView {
|
||||
cashBtnSelecting;
|
||||
web3BtnSelecting;
|
||||
|
||||
base: Node;
|
||||
openUIDataCT(data: any): void {
|
||||
this.base = data.base;
|
||||
}
|
||||
openUIDataCT(data: any): void {}
|
||||
onLoadCT(): void {
|
||||
this.node.active = false;
|
||||
this.scheduleOnce(() => {
|
||||
@@ -208,12 +205,11 @@ export class PurchasePanel extends li_BaseView {
|
||||
payType: param.payType,
|
||||
goodId: param.goodId,
|
||||
networkType: this.getDefaultNetworkType(),
|
||||
basePanel: this.base,
|
||||
payPanel: this,
|
||||
};
|
||||
|
||||
if (this.web3PopPanel == null)
|
||||
NavigationManager.Instance.openSubPanel("Web3PopPanel", this.base, data);
|
||||
NavigationManager.Instance.openPopupPanel("Web3PopPanel", data);
|
||||
else {
|
||||
data.networkType = undefined;
|
||||
this.web3PopPanel.refreshData(data);
|
||||
|
||||
Reference in New Issue
Block a user