This commit is contained in:
Lingzi
2022-04-02 18:02:29 +08:00
parent be8a1dafb9
commit 7933b1ad54
20 changed files with 126 additions and 48 deletions

View File

@ -127,6 +127,9 @@ export class DatatableDriverComponent implements OnInit {
}
}
onChange(result: any) {
if(result === null) {
return
}
if (this.mode === 'year') {
this.queryTime = [this.datePipe.transform(this.date, 'yyyy')]
} else if (this.mode === 'month') {