Commit 379c3a5d authored by pengchongfu's avatar pengchongfu Committed by cinwell.li

Tooltip: add tips to docs, fixed #3894 (#3906)

parent 621c4b44
......@@ -192,6 +192,8 @@ In fact, Tooltip is an extension based on [Vue-popper](https://github.com/elemen
:::tip
The `router-link` component is not supported in tooltip, please use `vm.$router.push`.
Disabled form elements are not supported in tooltip, see more information at [MDN](https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter), please wrap disabled form elements.
:::
......
......@@ -195,6 +195,8 @@ Tooltip 组件提供了两个不同的主题:`dark`和`light`。
:::tip
tooltip 内不支持 `router-link` 组件,请使用 `vm.$router.push` 代替。
tooltip 内不支持 disabled form 元素,参考[MDN](https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter),请在 disabled form 元素外层添加一层包裹元素。
:::
### Attributes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment