沈斌
2017-12-16 f047b77624fd1b58bed9e80751b37eb002264305
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Component, AfterViewInit, ViewEncapsulation } from '@angular/core';
import { TransferService } from './transfer.service';
 
@Component({
    selector: 'app-step-form',
    templateUrl: './step-form.component.html',
    styleUrls: [ './step-form.component.less' ],
    providers: [ TransferService ]
})
export class StepFormComponent implements AfterViewInit {
 
    constructor(public item: TransferService) {}
 
    ngAfterViewInit() {
        console.log('item', this.item);
    }
}