消除时掉线可以重试或退出
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m13s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m13s
This commit is contained in:
parent
33d60c77be
commit
f46b37ec39
@ -984,6 +984,14 @@ export class SlotScene extends Component {
|
||||
);
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
msg1 = I18nManager.instance.t('AID_ERROR_CONTENT_4');
|
||||
msg2 = I18nManager.instance.t('AID_ERROR_CODE_4');
|
||||
tip = `${msg1}\n${msg2}`;
|
||||
if (!this.TipPanel.getHasTip()) {
|
||||
this.TipPanel.showTip(title, tip, () => { window.close() }, () => { callback?.(); }, I18nManager.instance.t('AID_ERROR_QUIT_BUTTON'), I18nManager.instance.t('AID_ERROR_RETRY_BUTTON'), true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -76,7 +76,9 @@ export class LayoutAdapter extends Component {
|
||||
const texH = this.sprite.spriteFrame.height;
|
||||
const scale = Math.max(size.width / texW, size.height / texH);
|
||||
this.BG_01.setScale(scale, scale); // 铺满并保持比例
|
||||
if (this.Logo.isValid) {
|
||||
this.changeLoge(size.height)
|
||||
}
|
||||
|
||||
|
||||
if (this.isMobile()) {
|
||||
|
||||
@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env"
|
||||
const gameId = "rp_11001";
|
||||
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
||||
let apiaddr = "";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3Njc3MTM4NTcsIlMiOjk5OCwiRCI6InJwXzExMDAxIn0.NgM_swidNSUlWC58DKHBzYNn4RWEjtQWDTgli0qEyl8";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3Njc4MTk1NTgsIlMiOjEwMDEsIkQiOiJycF8xMTAwMSJ9.UcJqIjmyDdeHoeYUuGeNI4Hpiqk3Rq7k4_6NuLxI16o";
|
||||
|
||||
|
||||
let language = "en"
|
||||
|
||||
@ -77,7 +77,7 @@ export class Loading extends Component {
|
||||
this.node.getChildByPath("Mask/LoadingUINode/logo_en").active = true;
|
||||
}
|
||||
|
||||
initErrorManager();
|
||||
// initErrorManager();
|
||||
await I18nManager.instance.ensureI18nSprite(language, "2");
|
||||
this.node
|
||||
.getChildByPath('Mask/LoadingUINode/msg')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user