Commit d860a7c7838866792f7fb2736fc5023b81e000b1
1 parent
6f76f1e3
chore(editor): prop: name -> text
Showing
1 changed file
with
3 additions
and
3 deletions
front-end/h5/src/views/Editor.vue
| ... | ... | @@ -11,7 +11,7 @@ const LbpButton = { |
| 11 | 11 | borderColor, |
| 12 | 12 | borderRadius, |
| 13 | 13 | borderWidth, |
| 14 | - name | |
| 14 | + text | |
| 15 | 15 | } = this |
| 16 | 16 | return ( |
| 17 | 17 | <button |
| ... | ... | @@ -26,11 +26,11 @@ const LbpButton = { |
| 26 | 26 | borderWidth: borderWidth + 'px', |
| 27 | 27 | textDecoration: 'none' |
| 28 | 28 | }} |
| 29 | - >{name}</button>) | |
| 29 | + >{text}</button>) | |
| 30 | 30 | }, |
| 31 | 31 | name: 'lbp-button', |
| 32 | 32 | props: { |
| 33 | - name: { | |
| 33 | + text: { | |
| 34 | 34 | type: String, |
| 35 | 35 | default: '按钮' |
| 36 | 36 | }, | ... | ... |