//数字过万处理
var getFansCount = function (fansCount) {
  if (fansCount > 10000) {
    if (fansCount % 10000 == 0) {
      fansCount = (fansCount / 10000).toFixed(0) + "万"
    } else {
      fansCount = (fansCount / 10000).toFixed(1) + "万"
    }

  }
  return fansCount;
}
Last Updated:
Contributors: pengrengui