Replace .map() with .forEach() where return value is unused

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 08:46:01 +08:00
parent 79811435de
commit dfd5706bcf
8 changed files with 21 additions and 21 deletions

View File

@@ -132,7 +132,7 @@ export default {
inputTimeFields: {
get() {
let paddedTimeFields = [];
this.inputTypes.map(inputTypeUnit => {
this.inputTypes.forEach(inputTypeUnit => {
// Pad the dd/hh/mm/ss field string to 2 digits and add it to the list
paddedTimeFields.push(this.tUnits[inputTypeUnit].val.toString().padStart(2, '0'));
});