You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import AppLog from './log/AppLog';
console.log(AppLog.getInstance());
(window["bb"] as any).log = AppLog.getInstance().log.bind(AppLog.getInstance());
(window["bb"] as any).log2 = AppLog.getInstance().log2.bind(AppLog.getInstance());
(window["bb"] as any).info = AppLog.getInstance().info.bind(AppLog.getInstance());
(window["bb"] as any).info2 = AppLog.getInstance().info2.bind(AppLog.getInstance());
(window["bb"] as any).info3 = AppLog.getInstance().info3.bind(AppLog.getInstance());
(window["bb"] as any).warn = AppLog.getInstance().warn.bind(AppLog.getInstance());
(window["bb"] as any).error = AppLog.getInstance().error.bind(AppLog.getInstance());
import ViewCtrl from './view/base/ViewCtrl'
(window["bb"] as any).ViewCtrl = ViewCtrl;
import UIBind from './loader/UIBind'
(window["bb"] as any).UIBind = UIBind.getInstance();
import UILoader from './loader/UILoader';
(window["bb"] as any).UILoader = UILoader.getInstance();
The text was updated successfully, but these errors were encountered:
在App.ts里 下面代码都会有报错
import AppLog from './log/AppLog';
console.log(AppLog.getInstance());
(window["bb"] as any).log = AppLog.getInstance().log.bind(AppLog.getInstance());
(window["bb"] as any).log2 = AppLog.getInstance().log2.bind(AppLog.getInstance());
(window["bb"] as any).info = AppLog.getInstance().info.bind(AppLog.getInstance());
(window["bb"] as any).info2 = AppLog.getInstance().info2.bind(AppLog.getInstance());
(window["bb"] as any).info3 = AppLog.getInstance().info3.bind(AppLog.getInstance());
(window["bb"] as any).warn = AppLog.getInstance().warn.bind(AppLog.getInstance());
(window["bb"] as any).error = AppLog.getInstance().error.bind(AppLog.getInstance());
import ViewCtrl from './view/base/ViewCtrl'
(window["bb"] as any).ViewCtrl = ViewCtrl;
import UIBind from './loader/UIBind'
(window["bb"] as any).UIBind = UIBind.getInstance();
import UILoader from './loader/UILoader';
(window["bb"] as any).UILoader = UILoader.getInstance();
The text was updated successfully, but these errors were encountered: