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()