perf: 优化主题跟随系统

This commit is contained in:
kuaifan 2023-01-29 11:36:47 +08:00
parent dcf5d3e910
commit 9df56f9556

View File

@ -154,6 +154,9 @@ export default {
}).catch(_ => { }).catch(_ => {
this.$store.dispatch("websocketConnection"); this.$store.dispatch("websocketConnection");
}) })
if (this.themeMode === "auto") {
$A.dark.autoDarkMode()
}
}, 600) }, 600)
} }
}, },