每次项目都需要用到时间戳格式,可以封装成一个方法 下次直接CV过去
const timestampPadStart=(str)=>{ str=String(str); return str.padStart(2,'0')
京公网安备 11010502049817号