摘要: 调用此方法: moneyFormat(20,2,'.','.') export function moneyFormat(number, decimals, dec_point, thousands_sep) { decimals = 2 //这里默认设置保留两位小数,也可以注释这句采用传入的参数 阅读全文
posted @ 2021-12-17 11:51 light丶 阅读(361) 评论(0) 推荐(0)