This is the condition I am using [class.active]="fromMode != 'manual'"
and the formMode is been intialize with manual value like this fromMode = "manual";
. It give the error when I add this line
this.fromMode =
this.searchHistory[0].inputStrings.fromMode != undefined
? this.searchHistory[0].inputStrings.fromMode
: 'manual';
Not understanding what is problem here
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…