loulijun2021
2022-07-07 f791db88d83a7ed851b9412d9797ed16b345fe79
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()