refactor(modules/web): add isDark getters in bookStore.js
This commit is contained in:
@@ -53,6 +53,7 @@ export const useBookStore = defineStore("book", {
|
||||
theme: (state) => {
|
||||
return state.config.theme
|
||||
},
|
||||
isDark: (state) => state.config.theme == 6,
|
||||
},
|
||||
actions: {
|
||||
setConnectStatus(connectStatus) {
|
||||
|
||||
Reference in New Issue
Block a user