点击余额不足提示确认按钮时刷新玩家余额的显示
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 46s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 46s
This commit is contained in:
parent
1edb5cd3e5
commit
24a6b80fb2
@ -242,7 +242,7 @@ export class SlotScene extends Component {
|
||||
|
||||
if (this.slotBar.getBalance() < (isFeatureBuy ? this.slotBar.getBet() * this.gameInfo.BuyMul : this.slotBar.getBet()) && !isFreeSpin && !GameDataManager.instance.frb.Ongoing) {
|
||||
//余额不足不经过服务器,在客户端拦截
|
||||
this.showErrorTip(2, "");
|
||||
this.showErrorTip(2, () => { this.slotBar.onClickBalance() });
|
||||
this.handleErrSpin();
|
||||
return
|
||||
}
|
||||
@ -886,7 +886,7 @@ export class SlotScene extends Component {
|
||||
msg2 = I18nManager.instance.t('AID_ERROR_CODE_2');
|
||||
tip = `${msg1}\n${msg2}`;
|
||||
if (!this.TipPanel.getHasTip()) {
|
||||
this.TipPanel.showTip(title, tip, null, null, I18nManager.instance.t('AID_ERROR_OK_BUTTON'), null, false);
|
||||
this.TipPanel.showTip(title, tip, callback, null, I18nManager.instance.t('AID_ERROR_OK_BUTTON'), null, false);
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
|
||||
@ -187,7 +187,7 @@
|
||||
"_priority": 0,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 960,
|
||||
"_orthoHeight": 959.9999999999999,
|
||||
"_near": 0,
|
||||
"_far": 2000,
|
||||
"_color": {
|
||||
|
||||
@ -9,7 +9,7 @@ const qs = new URLSearchParams(location.search)
|
||||
|
||||
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
||||
let apiaddr = "";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3ODA5NDY2MzIsIlMiOjk5OCwiRCI6InJwXzEwMDEyIn0.YhnazRKiM4CXHd0oxMS6WDMJYpvpVsijKx-AXZtMCLo";
|
||||
let token = "eyJQIjoxMDAwMDEsIkUiOjE3ODExMTY1NjYsIlMiOjEwMDIsIkQiOiJycF8xMDAxMiJ9.I2959bskgMea99B9N_7_Lbb083gZcuov9nTDZX0hjRQ";
|
||||
let language = "en"
|
||||
let currency = "THB"
|
||||
let isfrom = null
|
||||
|
||||
Loading…
Reference in New Issue
Block a user