21 lines
412 B
TypeScript
21 lines
412 B
TypeScript
import { UIBase } from "../UI/UIBase";
|
|
|
|
const {ccclass, property} = cc._decorator;
|
|
|
|
@ccclass
|
|
export class MulitLoginTip extends UIBase {
|
|
public static prefabPath = 'prefabs/tips/pb_mulitlogin';
|
|
|
|
init(data: any) {
|
|
// throw new Error('Method not implemented.');
|
|
}
|
|
|
|
onClickOK() {
|
|
this.node.destroy();
|
|
localStorage.removeItem('walletaccount');
|
|
window.hasWallet = false;
|
|
cc.game.restart();
|
|
}
|
|
|
|
}
|