From 76547a61c19605f6da3b2f069697ad42552054df Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Tue, 18 Apr 2023 16:55:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BB=BB=E5=8A=A1=E6=A8=A1?= =?UTF-8?q?=E5=9D=97every=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/task/views/list.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/task/views/list.vue b/src/modules/task/views/list.vue index d96f472..78792f4 100644 --- a/src/modules/task/views/list.vue +++ b/src/modules/task/views/list.vue @@ -19,7 +19,7 @@

定时规则 - {{ item.taskType == 1 ? `间隔${item.every}秒执行` : item.cron }} + {{ item.taskType == 1 ? `间隔${item._every}秒执行` : item.cron }}

@@ -106,7 +106,7 @@ function refresh() { service.task.info.page({ size: 100, page: 1 }).then((res) => { list.value = res.list.map((e) => { if (e.every) { - e.every /= 1000; + e._every = parseInt(String(e.every / 1000)); } return e;