|
@@ -99,7 +99,7 @@ export default {
|
|
|
text_color: '#1d2129', // 文字颜色
|
|
|
align: 'LEFT', // 对齐方式 LEFT:左对齐 MIDDLE:居中 RIGHT:右对齐
|
|
|
view_pinyin: 'true', // 启用拼音
|
|
|
- pinyin_position: 'top', // 拼音位置
|
|
|
+ pinyin_position: 'top', // 拼音位置 top:上方 bottom:下方
|
|
|
},
|
|
|
fontSizeList: [
|
|
|
'8pt',
|
|
@@ -131,7 +131,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
getBookUnifiedAttr() {
|
|
|
- GetBookUnifiedAttrib({ bookId: this.bookId }).then(({ content }) => {
|
|
|
+ GetBookUnifiedAttrib({ book_id: this.bookId }).then(({ content }) => {
|
|
|
if (content) {
|
|
|
this.unified_attrib = JSON.parse(content);
|
|
|
}
|
|
@@ -139,7 +139,7 @@ export default {
|
|
|
},
|
|
|
applyBookUnifiedAttr() {
|
|
|
ApplyBookUnifiedAttrib({
|
|
|
- bookId: this.bookId,
|
|
|
+ book_id: this.bookId,
|
|
|
content: JSON.stringify(this.unified_attrib),
|
|
|
}).then(() => {
|
|
|
this.$message.success('应用成功');
|