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;