fix: 默认折叠日志面板
This commit is contained in:
@@ -39,7 +39,7 @@ interface LogEntry {
|
|||||||
|
|
||||||
const logs = ref<LogEntry[]>([])
|
const logs = ref<LogEntry[]>([])
|
||||||
const logContainer = ref<HTMLElement | null>(null)
|
const logContainer = ref<HTMLElement | null>(null)
|
||||||
const expanded = ref(true)
|
const expanded = ref(false) // 默认折叠
|
||||||
const lastTripRates = ref<number[]>([])
|
const lastTripRates = ref<number[]>([])
|
||||||
|
|
||||||
const addLog = (level: LogEntry['level'], message: string) => {
|
const addLog = (level: LogEntry['level'], message: string) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user