摘要: function customToFixed(num: string, len: number = 2) { num = num.toString() let index = num.indexOf('.') if (index !== -1) { num = num.substring(0, in 阅读全文
posted @ 2022-04-13 18:59 最好的年纪 阅读(407) 评论(0) 推荐(0) 编辑