更新时间:2021-09-10 04:06:49
acronym_name(str){
if (typeof str == 'undefined') {
str = '';
}
else{
var regular_ex=/\b(\w)/g;
var matches = str.match(regular_ex);
var acronym = matches.join('');
return acronym;
}
}