loulijun2021
2022-07-09 bed893abbebac6a1e43478b693e1f862a6b6c8fe
src/utils/global.js
@@ -22,7 +22,7 @@
}
// 时间处理函数
export function handleDatatime(value) {
export function handleDatetime(value) {
  const data = new Date(value)
  const month = data.getMonth() < 9 ? '0' + (data.getMonth() + 1) : data.getMonth() + 1
  const date = data.getDate() <= 9 ? '0' + data.getDate() : data.getDate()