setting.js 455 B

123456789101112131415161718192021222324252627282930
  1. const type = 'GcBorder2'
  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. }