angular中必选框翻译
get maxlengthMessage() {
this.translateService.get(['The_Field_Does_Not_Exceed','Characters']).subscribe(res=>{
maxlengthMessageStr= res['The_Field_Does_Not_Exceed']+this.question.optionList[0].minText+ res['Characters']
});
let maxlengthMessageStr = '';
if (this.question.quesiontType === 'MT') {
if (this.question.optionList[0].minText > 0) {
maxlengthMessageStr = 'The_Field_Does_Not_Exceed ' + this.question.optionList[0].maxText + ' Characters' ;
}
}
return;
}