每当我在Windows PowerShell ISE中输入@Component({
selector: 'card',
templateUrl: './card.component.html'
})
export class CardComponent implements OnInit {
@Input() _title: string;
get title(): string {
return this._title;
}
set title(title: string) {
console.log('prev value: ', this._title);
console.log('got title: ', title);
this._title = title;
}
时,都会收到错误消息:
python manage.py shell