日志控制
This commit is contained in:
@@ -8,6 +8,7 @@ import { CommAdDialog } from "./Item/CommAdDialog";
|
||||
import Utils from "../Main/Common/Utils";
|
||||
import { InnerMsgCode } from "../Main/Config/InnerMsgCode";
|
||||
import { TipsPanel } from "../chat18x/ui/panels/TipsPanel";
|
||||
import { logger } from "db://assets/Scripts/Main/Common/Logger";
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -34,7 +35,7 @@ export default class SubManager {
|
||||
/**通用确认框 { content: string, strYes?: string, strNo?: string, yesCallback?: Function, noCallback?: Function, closeCallback?: Function } */
|
||||
public static ShowConfirm(param: any) {
|
||||
if (!GameRootUI.I) {
|
||||
console.warn("GameRootUI还未初始化", param);
|
||||
logger.warn("GameRootUI还未初始化", param);
|
||||
return;
|
||||
}
|
||||
ResManager.I.loadSubpackagePrefab("item/ConfirmDialog", (n_node: Node) => {
|
||||
@@ -48,7 +49,7 @@ export default class SubManager {
|
||||
/**通用广告框 { content: string, strAd?: string, strLeft?: string, adCallback?: Function, leftCallback?: Function, closeCallback?: Function } */
|
||||
public static ShowCommonAdDialog(param: any) {
|
||||
if (!GameRootUI.I) {
|
||||
console.warn("GameRootUI还未初始化", param);
|
||||
logger.warn("GameRootUI还未初始化", param);
|
||||
return;
|
||||
}
|
||||
ResManager.I.loadSubpackagePrefab("item/CommAdDialog", (n_node: Node) => {
|
||||
|
||||
Reference in New Issue
Block a user