21 lines
386 B
TypeScript
Raw Normal View History

2023-11-13 02:37:29 +08:00
import { _decorator, Component, Label, Node } from 'cc';
import { app, JNGLayerBase } from '../../App';
import { GUI } from '../UIConfig';
const { ccclass, property } = _decorator;
@ccclass('MainView')
export class MainView extends JNGLayerBase {
onJNLoad(data?: any): void {
}
2023-11-14 03:35:48 +08:00
//打开聊天页面
onOpenChat(){
app.layer.Open(GUI.MainChat);
2023-11-13 02:37:29 +08:00
}
}