diff --git a/packages/vant/src/highlight/README.md b/packages/vant/src/highlight/README.md index 6a5685998..51278d029 100644 --- a/packages/vant/src/highlight/README.md +++ b/packages/vant/src/highlight/README.md @@ -2,7 +2,7 @@ ### Intro -Highlight the specified text content. +Highlight the specified text content. Please upgrade `vant` to >= v4.8.0 before using this component. ### Install diff --git a/packages/vant/src/highlight/README.zh-CN.md b/packages/vant/src/highlight/README.zh-CN.md index 7d43b86c1..a45aabe30 100644 --- a/packages/vant/src/highlight/README.zh-CN.md +++ b/packages/vant/src/highlight/README.zh-CN.md @@ -2,7 +2,7 @@ ### 介绍 -高亮指定文本内容。 +高亮指定文本内容。请升级 `vant` 到 >= 4.8.0 版本来使用该组件。 ### 引入 diff --git a/packages/vant/src/highlight/demo/index.vue b/packages/vant/src/highlight/demo/index.vue index b84f25a09..8f2543ece 100644 --- a/packages/vant/src/highlight/demo/index.vue +++ b/packages/vant/src/highlight/demo/index.vue @@ -42,11 +42,15 @@ const t = useTranslate({