diff --git a/packages/varlet-ui/src/tooltip/docs/en-US.md b/packages/varlet-ui/src/tooltip/docs/en-US.md index 14ce01a0833..0b332046cff 100644 --- a/packages/varlet-ui/src/tooltip/docs/en-US.md +++ b/packages/varlet-ui/src/tooltip/docs/en-US.md @@ -1,6 +1,7 @@ # Tooltip ### Intro + Displays a tooltip when the element is clicked or hovered, and changes the display position of the tooltip by controlling the placement and offset. @@ -181,7 +182,7 @@ In the `disabled` state, the tooltip will not be opened. | `v-model:show` | Whether to show the tooltip | _boolean_ | `false` | | `content` | Display content | _string_ | `-` | | `color` | Tooltip background color | _string_ | `-` | -| `text-color` | Tooltip text color | _string_ | `-` | +| `text-color` ***3.5.0*** | Tooltip text color | _string_ | `-` | | `type` | Tooltip type, can be set to `default` `primary` `info` `success` `warning` `danger` | _string_ | `default` | | `placement` | Tooltip popup placement | _Placement_ | `bottom` | | `strategy` | Tooltip position strategy, optional value is `absolute` `fixed` | _string_ | `absolute` | diff --git a/packages/varlet-ui/src/tooltip/docs/zh-CN.md b/packages/varlet-ui/src/tooltip/docs/zh-CN.md index 488c1628e6a..2543dcf5a94 100644 --- a/packages/varlet-ui/src/tooltip/docs/zh-CN.md +++ b/packages/varlet-ui/src/tooltip/docs/zh-CN.md @@ -181,7 +181,7 @@ import { Snackbar } from '@varlet/ui' | `v-model:show` | 是否显示 | _boolean_ | `false` | | `content` | 显示的内容 | _string_ | `-` | | `color` | 背景颜色 | _string_ | `-` | -| `text-color` | 文字颜色 | _string_ | `-` | +| `text-color` ***3.5.0*** | 文字颜色 | _string_ | `-` | | `type` | 类型,可选值为 `default` `primary` `info` `success` `warning` `danger` | _string_ | `default` | | `placement` | 弹出位置 | _Placement_ | `bottom` | | `strategy` | 定位方式,可选值为 `absolute` `fixed` | _string_ | `absolute` |