|
|
@ -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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|