import { UIBase } from '../UI/UIBase'; const { ccclass, property } = cc._decorator; @ccclass export class WhitelistTip extends UIBase { public static prefabPath = 'prefabs/tips/pb_whitelist'; init(data: any) { // throw new Error('Method not implemented.'); } onClickOK() { this.node.destroy(); } onClose() { this.node.destroy(); } }