|
@@ -1006,11 +1006,11 @@ const handleClickOutside = (event) => {
|
|
|
// 切换
|
|
|
function expandTextInput() {
|
|
|
showExpandTextInput.value = !showExpandTextInput.value
|
|
|
- // nextTick(() => {
|
|
|
- // if (showExpandTextInput.value) {
|
|
|
- // editor.value.focus()
|
|
|
- // }
|
|
|
- // })
|
|
|
+ nextTick(() => {
|
|
|
+ if (showExpandTextInput.value) {
|
|
|
+ editor.value.focus()
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
// 预览
|