时间-月份调整

qianming 3 years ago
parent 9e2ee3aaaa
commit 8c20355452

@ -94,7 +94,7 @@ export default {
}, },
formatWeek(date, fmt) { formatWeek(date, fmt) {
const year = date.getFullYear(); const year = date.getFullYear();
const month = date.getMonth(); const month = date.getMonth() + 1;
const day = date.getDate(); const day = date.getDate();
const hours = date.getHours(); const hours = date.getHours();
const minutes = date.getMinutes(); const minutes = date.getMinutes();

Loading…
Cancel
Save