models changed
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import {
|
||||
Component,
|
||||
OnInit,
|
||||
Input,
|
||||
EventEmitter,
|
||||
Output,
|
||||
@@ -32,7 +31,7 @@ import {PlatformLocation} from '@angular/common';
|
||||
selector: 'of-target-list',
|
||||
templateUrl: './list.component.html',
|
||||
})
|
||||
export class ListComponent implements OnInit {
|
||||
export class ListComponent implements OnChanges {
|
||||
|
||||
@Input() probeID;
|
||||
@Input() pageIdx;
|
||||
@@ -55,9 +54,6 @@ export class ListComponent implements OnInit {
|
||||
this.countPerPage = 2;
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
// console.log(changes);
|
||||
if (changes['pageIdx']) {
|
||||
|
||||
Reference in New Issue
Block a user