forked from opentiny/tiny-vue
docs(sites): 修复文档错别字、单词拼写错误 (#1758)
This commit is contained in:
parent
ce0da6845f
commit
027afe8653
|
@ -639,7 +639,7 @@ interface IFormRules {
|
||||||
trigger?: IFormTrigger | IFormTrigger[]
|
trigger?: IFormTrigger | IFormTrigger[]
|
||||||
// 同步检验函数,调用回调传递错误信息。
|
// 同步检验函数,调用回调传递错误信息。
|
||||||
validator?: (
|
validator?: (
|
||||||
rule: IFormInnerRule, // from内部处理后的rule
|
rule: IFormInnerRule, // form内部处理后的rule
|
||||||
value: any, // 表单model对应的值,根据表单项prop获取
|
value: any, // 表单model对应的值,根据表单项prop获取
|
||||||
callback: (e: Error) => void
|
callback: (e: Error) => void
|
||||||
data: object, // prop和value构造的对象
|
data: object, // prop和value构造的对象
|
||||||
|
|
|
@ -127,9 +127,9 @@ export default {
|
||||||
},
|
},
|
||||||
desc: {
|
desc: {
|
||||||
'zh-CN':
|
'zh-CN':
|
||||||
'<p>通过 <code>validate-position</code> 可自定义错误提示出现的位置,在 <code>form</code> 组件上设置后,子组件 <code>form-item</code> 会继承父组件设置。单独在 <code>form-item</code> 组件上进行设置优先级高于在 <code>from</code> 上的设置。</p>',
|
'<p>通过 <code>validate-position</code> 可自定义错误提示出现的位置,在 <code>form</code> 组件上设置后,子组件 <code>form-item</code> 会继承父组件设置。单独在 <code>form-item</code> 组件上进行设置优先级高于在 <code>form</code> 上的设置。</p>',
|
||||||
'en-US':
|
'en-US':
|
||||||
'<p>You can use <code>validate-position</code> to customize the position where the error message appears. After this parameter is set on the <code>form</code> component, the subcomponent <code>form-item</code> inherits the setting of the parent component. The setting on the <code>form-item</code> component takes precedence over the setting on the <code>From</code> component. </p>'
|
'<p>You can use <code>validate-position</code> to customize the position where the error message appears. After this parameter is set on the <code>form</code> component, the subcomponent <code>form-item</code> inherits the setting of the parent component. The setting on the <code>form-item</code> component takes precedence over the setting on the <code>Form</code> component. </p>'
|
||||||
},
|
},
|
||||||
codeFiles: ['validation-position.vue']
|
codeFiles: ['validation-position.vue']
|
||||||
},
|
},
|
||||||
|
|
|
@ -45,7 +45,7 @@ export default {
|
||||||
'name': { 'zh-CN': '自定义分页', 'en-US': '' },
|
'name': { 'zh-CN': '自定义分页', 'en-US': '' },
|
||||||
'desc': {
|
'desc': {
|
||||||
'zh-CN':
|
'zh-CN':
|
||||||
'<p>表格内置分页组件需要和 <code>fetch-data</code> 属性配合使用,若使用 <code>data</code> 设置表格数据源,则需要使用自动义分页。</p>\n',
|
'<p>表格内置分页组件需要和 <code>fetch-data</code> 属性配合使用,若使用 <code>data</code> 设置表格数据源,则需要使用自定义分页。</p>\n',
|
||||||
'en-US': ''
|
'en-US': ''
|
||||||
},
|
},
|
||||||
'codeFiles': ['pager/pager-in-grid.vue']
|
'codeFiles': ['pager/pager-in-grid.vue']
|
||||||
|
|
Loading…
Reference in New Issue