// 创建补0函数
function pZone (s) {
   return s < 10 ? '0' + s : s
}

pZone(num)

 

相关文章:

  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2022-01-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-11-18
相关资源
相似解决方案