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事件的冒泡。