drawingDefalut.js 858 B

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