From adc015d2e06ac0d54825efd359a6f3a89f9d6082 Mon Sep 17 00:00:00 2001 From: wangchenguang <728837162@qq.com> Date: Tue, 25 Apr 2023 20:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/article/add/editor.js | 2 +- src/pages/article/add/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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