Commit c3f516f540d618ec2479d06d5d6868ff82931614
1 parent
bb26980d
fix(plugin): config picture source url
Showing
1 changed file
with
7 additions
and
7 deletions
front-end/h5/src/components/plugins/lbp-picture.js
| ... | ... | @@ -17,14 +17,14 @@ export default { |
| 17 | 17 | editorConfig: { |
| 18 | 18 | propsConfig: { |
| 19 | 19 | imgSrc: { |
| 20 | - type: 'picture-picker', | |
| 21 | - label: '', | |
| 22 | - require: true, | |
| 23 | - widgetProps: { | |
| 24 | - value: '', | |
| 25 | - template: '%i', | |
| 20 | + // type: 'picture-picker', | |
| 21 | + type: 'el-input', | |
| 22 | + label: '图片url', | |
| 23 | + prop: { | |
| 24 | + type: 'textarea' | |
| 26 | 25 | }, |
| 27 | - }, | |
| 26 | + defaultPropValue: '' | |
| 27 | + } | |
| 28 | 28 | }, |
| 29 | 29 | components: { |
| 30 | 30 | // 'picture-picker': PicturePicker, | ... | ... |