models changed

This commit is contained in:
insanity
2018-06-12 14:45:21 +09:00
parent 0f69c63a98
commit d8cb5f4d41
24 changed files with 132 additions and 266 deletions

View File

@@ -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']) {