Form 动态表单,增加基础表单
parent
d2420212a6
commit
4c56a07c4e
@ -1,29 +1,29 @@
|
|||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
layout: 'colFormItem',
|
// layout: 'colFormItem',
|
||||||
tagIcon: 'input',
|
// tagIcon: 'input',
|
||||||
label: '手机号',
|
// label: '手机号',
|
||||||
vModel: 'mobile',
|
// vModel: 'mobile',
|
||||||
formId: 6,
|
// formId: 6,
|
||||||
tag: 'el-input',
|
// tag: 'el-input',
|
||||||
placeholder: '请输入手机号',
|
// placeholder: '请输入手机号',
|
||||||
defaultValue: '',
|
// defaultValue: '',
|
||||||
span: 24,
|
// span: 24,
|
||||||
style: { width: '100%' },
|
// style: { width: '100%' },
|
||||||
clearable: true,
|
// clearable: true,
|
||||||
prepend: '',
|
// prepend: '',
|
||||||
append: '',
|
// append: '',
|
||||||
'prefix-icon': 'el-icon-mobile',
|
// 'prefix-icon': 'el-icon-mobile',
|
||||||
'suffix-icon': '',
|
// 'suffix-icon': '',
|
||||||
maxlength: 11,
|
// maxlength: 11,
|
||||||
'show-word-limit': true,
|
// 'show-word-limit': true,
|
||||||
readonly: false,
|
// readonly: false,
|
||||||
disabled: false,
|
// disabled: false,
|
||||||
required: true,
|
// required: true,
|
||||||
changeTag: true,
|
// changeTag: true,
|
||||||
regList: [{
|
// regList: [{
|
||||||
pattern: '/^1(3|4|5|7|8|9)\\d{9}$/',
|
// pattern: '/^1(3|4|5|7|8|9)\\d{9}$/',
|
||||||
message: '手机号格式错误'
|
// message: '手机号格式错误'
|
||||||
}]
|
// }]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue