fix bug
This commit is contained in:
@ -59,6 +59,7 @@ export class DatatableFinancetableComponent implements OnInit {
|
||||
} else {
|
||||
this.type = 4
|
||||
}
|
||||
|
||||
let params: any = {
|
||||
time: this.time,
|
||||
type: this.type
|
||||
@ -76,11 +77,11 @@ export class DatatableFinancetableComponent implements OnInit {
|
||||
|
||||
initPillarData(){
|
||||
let type = 1
|
||||
if(this.mode === 'year') {
|
||||
type = 1
|
||||
} else if(this.mode === 'month') {
|
||||
type = 2
|
||||
}
|
||||
if (this.modeNext === 'year') {
|
||||
this.type = 1
|
||||
} else if (this.modeNext === 'month') {
|
||||
this.type = 2
|
||||
}
|
||||
const params: any = {
|
||||
time: this.timeNext,
|
||||
type,
|
||||
|
||||
Reference in New Issue
Block a user