fix bug
This commit is contained in:
@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user