摘要: input失去焦点的时候,如果数字有小数位则保留,否则自动添加.00 number.toFixed( [digits] ) this.value=Number(this.value).toFixed(2); 参考 阅读全文
posted @ 2020-12-28 14:00 jahoon 阅读(106) 评论(0) 推荐(0)