09 2021 档案

摘要:const toFixed = (target, length) => { const str = `${target}`; // 将调用该方法的数字转为字符串 const dot = str.indexOf('.'); // 找到小数点的位置 let decimal = str.split('.' 阅读全文
posted @ 2021-09-18 13:39 大强子pq 阅读(107) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示