setting.js 460 B

1234567891011121314151617181920212223242526272829303132
  1. const type = 'GcBorder6'
  2. const name = '边框六'
  3. // 右侧配置项
  4. const setting = [
  5. // 背景色
  6. {
  7. label:'背景色',
  8. // 设置组件类型, select / input / colorPicker
  9. type: 'colorPicker',
  10. // 字段
  11. field: 'backgroundColor',
  12. optionField: 'backgroundColor', // 对应options中的字段
  13. // 是否多选
  14. multiple: false,
  15. // 绑定的值
  16. value: '',
  17. },
  18. ]
  19. export default {
  20. setting,
  21. type,
  22. name
  23. }