diff --git a/src/pages/article/add/editor.js b/src/pages/article/add/editor.js index c04e2c2..4c52572 100644 --- a/src/pages/article/add/editor.js +++ b/src/pages/article/add/editor.js @@ -371,7 +371,7 @@ export default { if (editor.iframeElement.contentWindow.document.body.innerText === '\n') { ed.target.editorCommands.execCommand("fontName", false, "Microsoft Yahei") ed.target.editorCommands.execCommand("fontSize", false, "19px") - ed.target.editorCommands.execCommand("lineHeight", false, "1.5") + ed.target.editorCommands.execCommand("lineHeight", false, "1") } top.document.querySelector('#articleTitle').focus() // 第一个字段聚焦 }) diff --git a/src/pages/article/add/index.vue b/src/pages/article/add/index.vue index bfa9a06..fb45a00 100644 --- a/src/pages/article/add/index.vue +++ b/src/pages/article/add/index.vue @@ -854,7 +854,7 @@ export default { columnName: '', templateId: '', typeId : '', - isSort: 0 + isSort: 1 }).then(({ data }) => { this.columns = data let { columnId } = this.$route.query