mirror of
https://github.com/gedoor/legado.git
synced 2025-01-08 11:47:32 +08:00
[skip ci]
This commit is contained in:
parent
85543ab92e
commit
bb21d17edc
@ -43,7 +43,7 @@ export const useBookStore = defineStore('book', {
|
||||
popCataVisible: false,
|
||||
contentLoading: true,
|
||||
showContent: false,
|
||||
config: default_config as webReadConfig,
|
||||
config: default_config,
|
||||
miniInterface: false,
|
||||
readSettingsVisible: false,
|
||||
}
|
||||
@ -182,7 +182,7 @@ export const useBookStore = defineStore('book', {
|
||||
)
|
||||
},
|
||||
setConfig(config?: webReadConfig) {
|
||||
this.config = Object.assign({}, this.config ?? default_config, config)
|
||||
this.config = Object.assign({}, this.config, config)
|
||||
},
|
||||
setReadSettingsVisible(visible: boolean) {
|
||||
this.readSettingsVisible = visible
|
||||
|
Loading…
Reference in New Issue
Block a user