配置充电停车优惠

This commit is contained in:
Guoqs
2025-02-17 16:15:54 +08:00
parent f7057f925f
commit bf673bc5bf
9 changed files with 252 additions and 106 deletions

View File

@@ -15,6 +15,10 @@ export function formatDate(cellValue) {
return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds
}
export function formatTimeStr(time) {
return `${time.getHours()}:${time.getMinutes()}:${time.getSeconds()}`;
}
/**
* @param {number} time
* @param {string} option