From 75635ef2bba872cab3645e87dec8fe4022e8e7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Wed, 17 Apr 2024 17:50:18 +0800 Subject: [PATCH] Doc: update --- web/src/pages/Doc/zh/course20/index.md | 8 +++++++- web/src/pages/Doc/zh/course20/index.vue | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/web/src/pages/Doc/zh/course20/index.md b/web/src/pages/Doc/zh/course20/index.md index 0d1379cb..2720efa4 100644 --- a/web/src/pages/Doc/zh/course20/index.md +++ b/web/src/pages/Doc/zh/course20/index.md @@ -132,4 +132,10 @@ import { createRoot } from 'react-dom/client' } ``` -> 感谢[h5chenhang](https://github.com/h5chenhang)贡献的[示例代码](https://github.com/wanglin2/mind-map/issues/192)。 \ No newline at end of file +> 感谢[h5chenhang](https://github.com/h5chenhang)贡献的[示例代码](https://github.com/wanglin2/mind-map/issues/192)。 + +## 常见问题 + +1.点击自定义内容中的输入框无法获取焦点和输入 + +解决方法:阻止输入框的`mousedown`事件的冒泡。 \ No newline at end of file diff --git a/web/src/pages/Doc/zh/course20/index.vue b/web/src/pages/Doc/zh/course20/index.vue index 1c38402b..3318bdd8 100644 --- a/web/src/pages/Doc/zh/course20/index.vue +++ b/web/src/pages/Doc/zh/course20/index.vue @@ -111,6 +111,9 @@
+感谢h5chenhang贡献的示例代码。
1.点击自定义内容中的输入框无法获取焦点和输入
+解决方法:阻止输入框的mousedown事件的冒泡。