From 3ef0541cc85ab6abf698ead3b258ae1ac156ef98 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 2 Oct 2024 01:54:27 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=A2=9E=E5=8A=A0=E7=AD=89=E5=BE=85?= =?UTF-8?q?=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/plugins/plugin-other/plugins/plugin-wait.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/ui/certd-server/src/plugins/plugin-other/plugins/plugin-wait.ts b/packages/ui/certd-server/src/plugins/plugin-other/plugins/plugin-wait.ts index 3585731a4..f038cd1cd 100644 --- a/packages/ui/certd-server/src/plugins/plugin-other/plugins/plugin-wait.ts +++ b/packages/ui/certd-server/src/plugins/plugin-other/plugins/plugin-wait.ts @@ -17,7 +17,7 @@ export class WaitPlugin extends AbstractTaskPlugin { title: '等待时长', value: 30, component: { - name: 'a-number', + name: 'a-input-number', vModel: 'value', }, helper: '单位:秒', @@ -27,7 +27,9 @@ export class WaitPlugin extends AbstractTaskPlugin { async onInstance() {} async execute(): Promise { + this.logger.info(`等待${this.waitTime}s`); await this.ctx.utils.sleep(this.waitTime * 1000); + this.logger.info('等待结束'); } } new WaitPlugin();