[skip ci]
This commit is contained in:
1 parent
87e82d67ef
commit
fa0813e1c5
1 file changed
+2
-2
@@ -43,7 +43,7 @@ export const useBookStore = defineStore('book', {
|
|||||||
popCataVisible: false,
|
popCataVisible: false,
|
||||||
contentLoading: true,
|
contentLoading: true,
|
||||||
showContent: false,
|
showContent: false,
|
||||||
config: default_config as webReadConfig,
|
config: default_config,
|
||||||
miniInterface: false,
|
miniInterface: false,
|
||||||
readSettingsVisible: false,
|
readSettingsVisible: false,
|
||||||
}
|
}
|
||||||
@@ -182,7 +182,7 @@ export const useBookStore = defineStore('book', {
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
setConfig(config?: webReadConfig) {
|
setConfig(config?: webReadConfig) {
|
||||||
this.config = Object.assign({}, this.config ?? default_config, config)
|
this.config = Object.assign({}, this.config, config)
|
||||||
},
|
},
|
||||||
setReadSettingsVisible(visible: boolean) {
|
setReadSettingsVisible(visible: boolean) {
|
||||||
this.readSettingsVisible = visible
|
this.readSettingsVisible = visible
|
||||||
|
|||||||
Reference in new issue
Block a user