1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
| export default [
| {
| __config__: {
| label: '单行文本',
| labelWidth: null,
| showLabel: true,
| changeTag: true,
| tag: 'el-input',
| tagIcon: 'input',
| defaultValue: undefined,
| required: true,
| layout: 'colFormItem',
| span: 24,
| document: 'https://element.eleme.cn/#/zh-CN/component/input',
| // 正则校验规则
| regList: [{
| pattern: '/^1(3|4|5|7|8|9)\\d{9}$/',
| message: '手机号格式错误'
| }]
| },
| // 组件的插槽属性
| __slot__: {
| prepend: '',
| append: ''
| },
| __vModel__: 'mobile',
| placeholder: '请输入手机号',
| style: { width: '100%' },
| clearable: true,
| 'prefix-icon': 'el-icon-mobile',
| 'suffix-icon': '',
| maxlength: 11,
| 'show-word-limit': true,
| readonly: false,
| disabled: false
| }
| ]
|
|