mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-11 16:52:49 +00:00
新增onServerReadyOnce事件,cluster模式下只触发一次,初始化任务事件改为onServerReadyOnce
This commit is contained in:
parent
bd5b7852f0
commit
c44087ee96
@ -16,7 +16,6 @@ export class TaskCommEvent {
|
|||||||
|
|
||||||
@Event('onServerReadyOnce')
|
@Event('onServerReadyOnce')
|
||||||
async onServerReadyOnce() {
|
async onServerReadyOnce() {
|
||||||
console.log('onServerReadyOnce', 'initTask');
|
|
||||||
this.taskInfoService.initTask();
|
this.taskInfoService.initTask();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user