refactor(modules/web): add isDark getters in bookStore.js

This commit is contained in:
Xwite committed 2024-10-02 21:38:39 +08:00
1 parent b1538b6f24
commit 70e937bf0f
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ export const useBookStore = defineStore("book", {
theme: (state) => {
return state.config.theme
},
isDark: (state) => state.config.theme == 6,
},
actions: {
setConnectStatus(connectStatus) {