退出游戏后打开from代表的网页
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m2s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m2s
This commit is contained in:
parent
d2d2540de0
commit
a3872e1a18
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
import { _decorator, Component, Prefab } from "cc";
|
||||
import { _decorator, Component, Node, Prefab } from "cc";
|
||||
import {
|
||||
FREE_SPIN_ROLLER_RULE,
|
||||
GameInfo,
|
||||
@ -82,6 +82,9 @@ export class SlotScene extends Component {
|
||||
@property(SlotRanking)
|
||||
slotRanking: SlotRanking = null;
|
||||
|
||||
@property(Node)
|
||||
gray: Node = null
|
||||
|
||||
// 游戏数据
|
||||
private gameInfo: GameInfo = null;
|
||||
private spinInfo: any = null;
|
||||
@ -1029,9 +1032,10 @@ export class SlotScene extends Component {
|
||||
null,
|
||||
() => {
|
||||
let fromUrl = getFromUrl();
|
||||
if (fromUrl.length == 0) {
|
||||
if (!fromUrl || fromUrl == "") {
|
||||
window.close();
|
||||
} else {
|
||||
this.gray.active = true
|
||||
window.location.replace(fromUrl);
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user