filters: {
    time: function (value) {
      let d = new Date(parseInt(value) * 1000)
      return (d.getFullYear()) + '-' + (d.getMonth() + 1 > 9 ? d.getMonth() + 1 : '0' + (d.getMonth() + 1)) + '-' + (d.getDate() > 9 ? d.getDate() : '0' + d.getDate())
    }
  }

相关文章:

  • 2021-12-05
  • 2022-01-01
  • 2021-11-17
  • 2022-12-23
  • 2022-01-11
  • 2021-12-30
  • 2021-11-01
猜你喜欢
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2023-03-28
相关资源
相似解决方案