20 lines
415 B
TypeScript
20 lines
415 B
TypeScript
import { Logger } from "./logger/Logger";
|
|
import { LevelLogLabel } from "./logger/LevelLogLabel";
|
|
import { LifeCycleLogLabel } from "./logger/LifeCycleLogLabel";
|
|
|
|
|
|
App<IAppOption>({
|
|
|
|
/**
|
|
* 全局数据
|
|
*/
|
|
globalData: {},
|
|
|
|
/**
|
|
* 小程序加载时
|
|
*/
|
|
onLaunch() {
|
|
Logger.log("小程序启动...",
|
|
LevelLogLabel.TraceLabel, LifeCycleLogLabel.OnLaunchLabel);
|
|
}
|
|
}) |