|
@@ -7,6 +7,7 @@ class AppBootHook {
|
|
// 应用已启动阶段
|
|
// 应用已启动阶段
|
|
async didReady() {
|
|
async didReady() {
|
|
// 初始化数据
|
|
// 初始化数据
|
|
|
|
+ console.log('in function:didReady');
|
|
const ctx = await this.app.createAnonymousContext();
|
|
const ctx = await this.app.createAnonymousContext();
|
|
await ctx.service.install.index();
|
|
await ctx.service.install.index();
|
|
}
|
|
}
|