金额格式化 const amountFormate = (amount) => { return ${Number(amount).toFixed(0).replace(/\B(?=(\d{3})+(?!\d))/g, ",")}; };