修复定时任务标签默认值

This commit is contained in:
whyour
2022-05-26 00:18:04 +08:00
parent e4f7461b62
commit ad1ee0d2ef
2 changed files with 198 additions and 19 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export class Crontab {
this.isDisabled = options.isDisabled || 0;
this.log_path = options.log_path || '';
this.isPinned = options.isPinned || 0;
this.labels = options.labels || [''];
this.labels = options.labels || [];
this.last_running_time = options.last_running_time || 0;
this.last_execution_time = options.last_execution_time || 0;
}