fix
This commit is contained in:
@@ -36,7 +36,7 @@ export class PurchasePanelItem extends Component {
|
||||
const count = shopData.getCountById(this.goodId);
|
||||
this.count.string = count.toString();
|
||||
const price = shopData.getOriginalPriceById(this.goodId);
|
||||
this.price.string = price.toString();
|
||||
this.price.string = "$" + price.toString();
|
||||
|
||||
let path = "";
|
||||
if (type == 1) {
|
||||
@@ -52,6 +52,9 @@ export class PurchasePanelItem extends Component {
|
||||
}
|
||||
|
||||
async onClickThis() {
|
||||
this.baseView.purchaseGood(this.goodId,this.baseView.getDefaultNetworkType());
|
||||
this.baseView.purchaseGood(
|
||||
this.goodId,
|
||||
this.baseView.getDefaultNetworkType()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user