Skip to content

Commit 3e400b4

Browse files
committed
docs(config-provider): 更新描述信息,增加全局配置组件任意属性支持的说明
1 parent 6af4491 commit 3e400b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/sites/demos/pc/app/config-provider/webdoc/config-provider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ export default {
1212
},
1313
desc: {
1414
'zh-CN':
15-
'可通过<code> design </code>属性设置自定义不同设计规范的图标和逻辑,例如:全局配置 Form 表单组件的必填星号是否默认显示、Button 组件的点击后的禁用时间和是否默认圆角。',
15+
'通过 <code>design</code> 属性可以自定义不同设计规范的图标和逻辑。从 3.23.0 版本开始,支持全局配置组件的任意 <code>props</code> 属性(仅支持双层组件),例如:可以全局配置 Form 组件必填项星号的默认显示状态、Button 组件的点击防抖时间以及是否默认显示圆角等。',
1616
'en-US':
17-
'Icons and logic for different design specifications can be customized through the <code>design</code> attribute configuration.'
17+
'You can use the <code> design </code> property to set custom icons and logic for different design specifications, starting from version 3.23.0, the global configuration component (only supports double-layer components) supports the function of any <code> props </code> attribute, for example: the default display of the required star of the global configuration Form form component, the disabled time after the click of the Button component, and whether the default roundness is enabled.'
1818
},
1919
codeFiles: ['base.vue']
2020
},

0 commit comments

Comments
 (0)