declare class PreplayLayer{ constructor(args: object)//构造函数 showErrorMsg(msg: string): null //显示错误信息 hideErroMsg(): null //隐藏错误信息 showLoading(): null // 显示加载条 hideLoading(): null // 隐藏加载动画 show(): null // 显示前置层 render(): null //重新渲染面板 }