Forráskód Böngészése

fix : 1.修改一下 dev 的配置

suwenjiang 4 hete
szülő
commit
19dfc924cc
1 módosított fájl, 5 hozzáadás és 5 törlés
  1. 5 5
      src/pages/note-create/index.client.vue

+ 5 - 5
src/pages/note-create/index.client.vue

@@ -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()
+    }
+  })
 }
 
 // 预览