//text:字符串,numSub:截取的字符长度
function showText(text, numSub){
if(text == null){return "";
}
if(text.length > numSub){
return text.substring(0, numSub - 1) + "...";
}
return text;
}
//text:字符串,numSub:截取的字符长度
function showText(text, numSub){
if(text == null){