loulijun2021
2022-07-08 32d14164407e86bc68d4ba5e37b1d07eea134dcb
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()