fix: update mihomo plugin log handling

This commit is contained in:
Tunglies
2026-06-18 19:18:10 +08:00
parent 42c9e19465
commit fd8c852698
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export const useLogData = () => {
const queryClient = useQueryClient()
const [clashLog] = useClashLog()
const enableLog = clashLog.enable
const logLevel = clashLog.logLevel
const logLevel = clashLog.logLevel.toUpperCase() as LogLevel
const allowedTypes = LOG_LEVEL_FILTERS[logLevel] ?? DEFAULT_LOG_TYPES
const hasLoadedInitialLogsRef = useRef(false)