Commit 6946246c0894c609512ee17f4fdb56bc20ae6677
1 parent
35965ffd
remove defaultPropValue prop
Showing
6 changed files
with
7 additions
and
14 deletions
front-end/h5/src/components/plugins/lbp-background.js
| @@ -36,8 +36,7 @@ export default { | @@ -36,8 +36,7 @@ export default { | ||
| 36 | label: '图片url', | 36 | label: '图片url', |
| 37 | prop: { | 37 | prop: { |
| 38 | type: 'textarea' | 38 | type: 'textarea' |
| 39 | - }, | ||
| 40 | - defaultPropValue: '' | 39 | + } |
| 41 | } | 40 | } |
| 42 | }, | 41 | }, |
| 43 | backgroundColor: { | 42 | backgroundColor: { |
| @@ -54,8 +53,7 @@ export default { | @@ -54,8 +53,7 @@ export default { | ||
| 54 | prop: { | 53 | prop: { |
| 55 | type: 'color' | 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,8 +33,7 @@ export default { | ||
| 33 | editor: { | 33 | editor: { |
| 34 | type: 'lbs-prop-text-enum-editor', | 34 | type: 'lbs-prop-text-enum-editor', |
| 35 | label: '选项列表', | 35 | label: '选项列表', |
| 36 | - require: true, | ||
| 37 | - defaultPropValue: defaultItems | 36 | + require: true |
| 38 | } | 37 | } |
| 39 | }, | 38 | }, |
| 40 | type: { | 39 | type: { |
front-end/h5/src/components/plugins/lbp-form-input.js
| @@ -36,8 +36,7 @@ export default { | @@ -36,8 +36,7 @@ export default { | ||
| 36 | default: 'text', | 36 | default: 'text', |
| 37 | editor: { | 37 | editor: { |
| 38 | type: 'lbs-select-input-type', | 38 | type: 'lbs-select-input-type', |
| 39 | - label: '类型', | ||
| 40 | - defaultPropValue: 'text' | 39 | + label: '类型' |
| 41 | } | 40 | } |
| 42 | }, | 41 | }, |
| 43 | disabled: { | 42 | disabled: { |
front-end/h5/src/components/plugins/lbp-form-radio-group.js
| @@ -31,8 +31,7 @@ export default { | @@ -31,8 +31,7 @@ export default { | ||
| 31 | editor: { | 31 | editor: { |
| 32 | type: 'lbs-prop-text-enum-editor', | 32 | type: 'lbs-prop-text-enum-editor', |
| 33 | label: '选项列表', | 33 | label: '选项列表', |
| 34 | - require: true, | ||
| 35 | - defaultPropValue: defaultItems | 34 | + require: true |
| 36 | } | 35 | } |
| 37 | }, | 36 | }, |
| 38 | type: { | 37 | type: { |
front-end/h5/src/components/plugins/lbp-picture.js
front-end/h5/src/components/plugins/lbp-video.js
| @@ -16,8 +16,7 @@ export default { | @@ -16,8 +16,7 @@ export default { | ||
| 16 | }, | 16 | }, |
| 17 | extra: (h) => { | 17 | extra: (h) => { |
| 18 | return <a href='https://github.com/ly525/luban-h5/issues/85' target='_blank'>教程(Tutorial)</a> | 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 | disabled: { | 22 | disabled: { |