Commit 6946246c0894c609512ee17f4fdb56bc20ae6677

Authored by ly525
1 parent 35965ffd

remove defaultPropValue prop

front-end/h5/src/components/plugins/lbp-background.js
... ... @@ -36,8 +36,7 @@ export default {
36 36 label: '图片url',
37 37 prop: {
38 38 type: 'textarea'
39   - },
40   - defaultPropValue: ''
  39 + }
41 40 }
42 41 },
43 42 backgroundColor: {
... ... @@ -54,8 +53,7 @@ export default {
54 53 prop: {
55 54 type: 'color'
56 55 },
57   - require: true,
58   - defaultPropValue: '#ffffff' // TODO why logogram for color does't work?
  56 + require: true
59 57 }
60 58 }
61 59 }
... ...
front-end/h5/src/components/plugins/lbp-form-checkbox-group.js
... ... @@ -33,8 +33,7 @@ export default {
33 33 editor: {
34 34 type: 'lbs-prop-text-enum-editor',
35 35 label: '选项列表',
36   - require: true,
37   - defaultPropValue: defaultItems
  36 + require: true
38 37 }
39 38 },
40 39 type: {
... ...
front-end/h5/src/components/plugins/lbp-form-input.js
... ... @@ -36,8 +36,7 @@ export default {
36 36 default: 'text',
37 37 editor: {
38 38 type: 'lbs-select-input-type',
39   - label: '类型',
40   - defaultPropValue: 'text'
  39 + label: '类型'
41 40 }
42 41 },
43 42 disabled: {
... ...
front-end/h5/src/components/plugins/lbp-form-radio-group.js
... ... @@ -31,8 +31,7 @@ export default {
31 31 editor: {
32 32 type: 'lbs-prop-text-enum-editor',
33 33 label: '选项列表',
34   - require: true,
35   - defaultPropValue: defaultItems
  34 + require: true
36 35 }
37 36 },
38 37 type: {
... ...
front-end/h5/src/components/plugins/lbp-picture.js
... ... @@ -13,8 +13,7 @@ export default {
13 13 label: '图片url',
14 14 prop: {
15 15 type: 'textarea'
16   - },
17   - defaultPropValue: ''
  16 + }
18 17 }
19 18 }
20 19 },
... ...
front-end/h5/src/components/plugins/lbp-video.js
... ... @@ -16,8 +16,7 @@ export default {
16 16 },
17 17 extra: (h) => {
18 18 return <a href='https://github.com/ly525/luban-h5/issues/85' target='_blank'>教程(Tutorial)</a>
19   - },
20   - defaultPropValue: ''
  19 + }
21 20 }
22 21 },
23 22 disabled: {
... ...