[skip ci] wip: web添加字距 段距 行距实现
This commit is contained in:
1 parent
6faa1e3131
commit
40313df336
4 files changed
+42
-18
No files matched your search
@@ -22,6 +22,11 @@ export const useBookStore = defineStore("book", {
|
||||
readWidth: 800,
|
||||
infiniteLoading: false,
|
||||
customFontName: "",
|
||||
spacing: {
|
||||
paragraph: 1,
|
||||
line: 0.8,
|
||||
letter: 0,
|
||||
},
|
||||
},
|
||||
miniInterface: false,
|
||||
readSettingsVisible: false,
|
||||
@@ -53,7 +58,7 @@ export const useBookStore = defineStore("book", {
|
||||
this.readingBook = readingBook;
|
||||
},
|
||||
setConfig(config) {
|
||||
this.config = config;
|
||||
Object.assign(this.config, config);
|
||||
},
|
||||
setReadSettingsVisible(visible) {
|
||||
this.readSettingsVisible = visible;
|
||||
|
||||
Reference in new issue
Block a user