修复日志样式

This commit is contained in:
whyour
2022-11-28 23:59:23 +08:00
parent 1446e925ec
commit b98b7646cb
3 changed files with 6 additions and 9 deletions
+2 -2
View File
@@ -326,10 +326,10 @@ export default class CronService {
const endTime = dayjs();
const diffTimeStr = doc.last_execution_time
? `耗时 ${endTime.diff(
? ` 耗时 ${endTime.diff(
dayjs(doc.last_execution_time * 1000),
'second',
)}`
)}`
: '';
if (logFileExist) {
const str = err ? `\n${err}` : '';