dev_unstable^2
hjm 5 years ago
parent 8fc200a1ce
commit cbd349777d

@ -52,6 +52,7 @@ class MemoDetailMDEditor extends Component {
errorMsg: '' errorMsg: ''
}) })
}) })
commentMDEditor.cm.focus()
}, { }, {
watch: false, watch: false,
dialogLockScreen: false, dialogLockScreen: false,
@ -119,7 +120,7 @@ class MemoDetailMDEditor extends Component {
this.initMDEditor() this.initMDEditor()
} else { } else {
setTimeout(() => { setTimeout(() => {
this.commentMDEditor.focus() this.commentMDEditor.cm.focus()
}, 10) }, 10)
} }
} }

Loading…
Cancel
Save