diff --git a/packages/devui-vue/docs/components/avatar/index.md b/packages/devui-vue/docs/components/avatar/index.md
index 013806da87..1148342faa 100644
--- a/packages/devui-vue/docs/components/avatar/index.md
+++ b/packages/devui-vue/docs/components/avatar/index.md
@@ -113,13 +113,17 @@
### 头像显示基本规则
- `中文开头`:取传入字符串的最后两个字符
+
- `英文开头`:取传入字符串的前面两个字符
+
- `多个英文名连用`:取传入字符串的前两个英文名首字母
+
- `非中英文开头`:取传入字符串的前两个字符
### 头像特殊显示规则
- 未传入`name`,`customText`,`imgSrc`,视为使用该头像的用户不存在
+
- 传入`name`,`customText`,`imgSrc`的值为空,视为使用该头像的用户无昵称,使用默认头像
### 显示优先级排序
diff --git a/packages/devui-vue/docs/components/form/index.md b/packages/devui-vue/docs/components/form/index.md
index 13591a26d1..5eed27e888 100644
--- a/packages/devui-vue/docs/components/form/index.md
+++ b/packages/devui-vue/docs/components/form/index.md
@@ -559,11 +559,14 @@ export default defineComponent({
>
> 待支持国际化词条配置
-当前DevUI支持的内置校验器有:`required`、`minlength`、`maxlength`、`min`、`max`、`requiredTrue`、`email`、`pattern`、`whitespace`。
+当前DevUI支持的内置校验器有:`required`、`minlength`、`maxlength`、`min`、`max`、`requiredTrue`、`email`、`pattern`、`whitespace`。
+
+- 若需限制用户输入不能全为空格,可使用`whitespace`内置校验器
+
+- 若需限制用户输入长度,将最大限制设置为实际校验值`+1`是一个好的办法。
+
+- 除`pattern`外,其他内置校验器我们也提供了内置的错误提示信息,在你未自定义提示消息时,我们将使用默认的提示信息。
-- 若需限制用户输入不能全为空格,可使用`whitespace`内置校验器
-- 若需限制用户输入长度,将最大限制设置为实际校验值`+1`是一个好的办法。
-- 除`pattern`外,其他内置校验器我们也提供了内置的错误提示信息,在你未自定义提示消息时,我们将使用默认的提示信息。
- message配置支持string与object两种形式(支持国际化词条配置,如`'zh-cn'`,默认将取`'default'`)。
:::demo
@@ -846,8 +849,11 @@ export default defineComponent({
配置`messageShowType`可选择消息自动提示的方式,默认为`popover`。
- 设置为`popover`错误信息将在元素聚焦时以`popover`形式呈现。
-- 设置为`text`错误信息将自动以文本方式显示在元素下方(需要与表单控件容器配合使用)。
+
+- 设置为`text`错误信息将自动以文本方式显示在元素下方(需要与表单控件容器配合使用)。
+
- 设置为`none`错误信息将不会自动呈现到视图, 可在模板中获取`message`或通过监听`messageChange`事件获取错误`message`, 或在模板中直接通过引用获取。
+
- 在 `options`中配置 `popPosition`可在消息提示方式为`popover`时,自定义`popover`内容弹出方向, 默认为`['right', 'bottom']`。更多取值参考popover组件。
:::demo
@@ -1639,7 +1645,9 @@ export default defineComponent({
- options支持以下字段
- errorStrategy,错误更新策略:`dirty`(默认)、`prestine`
+
- updateOn,校验时机,可选值有:`change`(默认)、 `blur`、 `input`
+
- popPosition,自定义`popover`内容弹出方向。 默认为`['right', 'bottom']`,更多取值参考popover组件。
diff --git a/packages/devui-vue/docs/components/gantt/index.md b/packages/devui-vue/docs/components/gantt/index.md
index 919457f8a0..9886769953 100644
--- a/packages/devui-vue/docs/components/gantt/index.md
+++ b/packages/devui-vue/docs/components/gantt/index.md
@@ -9,8 +9,11 @@
### 基本用法
- d-gantt-scale(时间轴)容器作为时间轴标线的定位父级元素,须设置 position 或者是 table、td、th、body 元素。
+
- d-gantt-scale(时间轴)容器和 d-gantt-bar(时间条)容器宽度须通过 GanttService 提供的方法根据起止时间计算后设置,初始化之后还须订阅 ganttScaleConfigChange 动态设置。
+
- 时间条 move、resize 事件会改变该时间条起止时间和时间轴的起止时间,订阅时间条 resize、move 事件和 ganttScaleConfigChange 来记录变化。
+
- 响应时间条 move、resize 事件调整最外层容器的滚动以获得更好的体验。
:::demo
diff --git a/packages/devui-vue/docs/components/input-icon/index.md b/packages/devui-vue/docs/components/input-icon/index.md
index 86cc01dddd..48959aa26b 100644
--- a/packages/devui-vue/docs/components/input-icon/index.md
+++ b/packages/devui-vue/docs/components/input-icon/index.md
@@ -16,7 +16,7 @@ export default defineComponent({
console.log(eventValue.value = val)
alert('AHHHH~!! InputIcon!!!!')
}
-
+
return {
eventValue,
handleIconClick,
@@ -45,6 +45,7 @@ export default defineComponent({
### 属性 `icon-color` `icon-bg-color`
- `icon-color` 定义`icon`颜色。
+
- `icon-bg-color` 定义`icon`区域的背景色。
由于字体图标本身有点布局偏移,加上背景可以有效抑制这种视觉偏移影响。