Doc: update

This commit is contained in:
街角小林
2024-04-17 17:50:18 +08:00
parent 20fae6270d
commit 75635ef2bb
2 changed files with 10 additions and 1 deletions

View File

@@ -132,4 +132,10 @@ import { createRoot } from 'react-dom/client'
}
```
> 感谢[h5chenhang](https://github.com/h5chenhang)贡献的[示例代码](https://github.com/wanglin2/mind-map/issues/192)。
> 感谢[h5chenhang](https://github.com/h5chenhang)贡献的[示例代码](https://github.com/wanglin2/mind-map/issues/192)。
## 常见问题
1.点击自定义内容中的输入框无法获取焦点和输入
解决方法:阻止输入框的`mousedown`事件的冒泡。

View File

@@ -111,6 +111,9 @@
<blockquote>
<p>感谢<a href="https://github.com/h5chenhang">h5chenhang</a>贡献的<a href="https://github.com/wanglin2/mind-map/issues/192">示例代码</a></p>
</blockquote>
<h2>常见问题</h2>
<p>1.点击自定义内容中的输入框无法获取焦点和输入</p>
<p>解决方法阻止输入框的<code>mousedown</code>事件的冒泡</p>
</div>
</template>