修复置顶后编辑置顶消失

This commit is contained in:
whyour
2021-10-28 22:38:34 +08:00
parent 160dbe780c
commit 1302a6daa0
3 changed files with 24 additions and 8 deletions
+2
View File
@@ -11,6 +11,7 @@ export class Crontab {
pid?: number;
isDisabled?: 1 | 0;
log_path?: string;
isPinned?: 1 | 0;
constructor(options: Crontab) {
this.name = options.name;
@@ -27,6 +28,7 @@ export class Crontab {
this.pid = options.pid;
this.isDisabled = options.isDisabled || 0;
this.log_path = options.log_path || '';
this.isPinned = options.isPinned || 0;
}
}