master
wangchenguang 2 years ago
parent 77774b6043
commit adc015d2e0
  1. 2
      src/pages/article/add/editor.js
  2. 2
      src/pages/article/add/index.vue

@ -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() // 第一个字段聚焦
})

@ -854,7 +854,7 @@ export default {
columnName: '',
templateId: '',
typeId : '',
isSort: 0
isSort: 1
}).then(({ data }) => {
this.columns = data
let { columnId } = this.$route.query

Loading…
Cancel
Save