v1.3.2 - Bugfix; SonarQube Upgrades.

This commit is contained in:
LINING-PC\lining
2025-09-24 16:10:39 +08:00
parent d3f42c6b48
commit c66e2209b8
6 changed files with 76 additions and 76 deletions
+3 -3
View File
@@ -168,7 +168,7 @@ watch(
selectedTime.value = parsed.timeStr
}
},
{ immediate: true }
{ immediate: true },
)
// 处理单日期输入变化(预留,当前版本不使用)
@@ -297,7 +297,7 @@ const scrollToSelectedTime = () => {
const containerHeight = 160 // el-time-column-list 的高度
const scrollTop = Math.max(
0,
selectedHourIndex * itemHeight - containerHeight / 2 + itemHeight / 2
selectedHourIndex * itemHeight - containerHeight / 2 + itemHeight / 2,
)
hourListRef.value.scrollTop = scrollTop
}
@@ -312,7 +312,7 @@ const scrollToSelectedTime = () => {
const containerHeight = 160
const scrollTop = Math.max(
0,
selectedMinuteIndex * itemHeight - containerHeight / 2 + itemHeight / 2
selectedMinuteIndex * itemHeight - containerHeight / 2 + itemHeight / 2,
)
minuteListRef.value.scrollTop = scrollTop
}