setting.js 454 B

12345678910111213141516171819202122232425262728293031
  1. const type = 'GcBorder9'
  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. }