src/utils/public.js @@ -4,6 +4,7 @@ * @returns {*} 转化过的值 */ function numUnitConversion (num) { num = num-0 return (num > 9999) ? (num / 10000).toFixed(2) + 'w' : num.toFixed(0) }