From 811ce8968e6e5210887b6efa435cad142826bfb4 Mon Sep 17 00:00:00 2001 From: COOL Date: Fri, 20 Jun 2025 11:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EonServerReadyOnce=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=EF=BC=8Ccluster=E6=A8=A1=E5=BC=8F=E4=B8=8B=E5=8F=AA?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E4=B8=80=E6=AC=A1=EF=BC=8C=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E4=BB=BB=E5=8A=A1=E4=BA=8B=E4=BB=B6=E6=94=B9=E4=B8=BA?= =?UTF-8?q?onServerReadyOnce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 6 +++--- src/modules/task/event/comm.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c5c413d..2ce7de5 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,9 @@ "description": "一个很酷的Ai快速开发框架", "private": true, "dependencies": { - "@cool-midway/core": "8.0.6", - "@cool-midway/rpc": "8.0.1", - "@cool-midway/task": "8.0.2", + "@cool-midway/core": "^8.0.7", + "@cool-midway/rpc": "^8.0.1", + "@cool-midway/task": "^8.0.2", "@midwayjs/bootstrap": "^3.20.3", "@midwayjs/cache-manager": "^3.20.3", "@midwayjs/core": "^3.20.3", diff --git a/src/modules/task/event/comm.ts b/src/modules/task/event/comm.ts index 71bf50b..073505d 100644 --- a/src/modules/task/event/comm.ts +++ b/src/modules/task/event/comm.ts @@ -15,7 +15,7 @@ export class TaskCommEvent { taskLocalService: TaskLocalService; @Event('onServerReadyOnce') - async onServerReadyOnce() { + async onServerReady() { this.taskInfoService.initTask(); }