Commit c94a4f0e9074db8f9d9d770fa21ade7cadf0c3c6
1 parent
46322880
replace customStyle with extra.style
Showing
4 changed files
with
16 additions
and
10 deletions
front-end/h5/src/components/core/models/element.js
front-end/h5/src/components/plugins/lbp-form-checkbox-group.js
front-end/h5/src/components/plugins/lbp-form-radio-group.js
front-end/h5/src/components/plugins/lbp-notice-bar.js
| ... | ... | @@ -14,9 +14,11 @@ import { NoticeBar } from 'vant' |
| 14 | 14 | import 'vant/lib/notice-bar/style' |
| 15 | 15 | |
| 16 | 16 | export default { |
| 17 | - customStyle: { | |
| 18 | - width: 300, | |
| 19 | - height: 30 | |
| 17 | + extra: { | |
| 18 | + style: { | |
| 19 | + width: 300, | |
| 20 | + height: 30 | |
| 21 | + } | |
| 20 | 22 | }, |
| 21 | 23 | name: 'lbp-notice-bar', |
| 22 | 24 | props: { | ... | ... |