VV
делаю подписку на онИнит, вывожу в шаблон, дата есть, но в консоль сыпит что undefined
как правильно подписаться?
Size: a a a
VV
AS
PT
export class PaginationComponent {
page = 1;
countShowVM = 20;
countsShowVM: string[] = ['20', '50', '100', 'All'];
constructor(
private vmService: VmService,
private table: TableComponent
) { }
onChangePage( page ) {
this.page = page;
this.getListVMPagination();
}
onChangeCount( count ) {
this.countShowVM = count.target.value;
this.getListVMPagination();
}
getListVMPagination() {
return this.vmService.getListVm( this.page, this.countShowVM )
.subscribe( allVm => this.table.TableProps = allVm );
}
} VV
VH
B
VV
VV
VH
VV
VH
AS
A
EG
ДЛ
A
A
N
E
A