Commit d860a7c7838866792f7fb2736fc5023b81e000b1

Authored by ly525
1 parent 6f76f1e3

chore(editor): prop: name -> text

front-end/h5/src/views/Editor.vue
@@ -11,7 +11,7 @@ const LbpButton = { @@ -11,7 +11,7 @@ const LbpButton = {
11 borderColor, 11 borderColor,
12 borderRadius, 12 borderRadius,
13 borderWidth, 13 borderWidth,
14 - name 14 + text
15 } = this 15 } = this
16 return ( 16 return (
17 <button 17 <button
@@ -26,11 +26,11 @@ const LbpButton = { @@ -26,11 +26,11 @@ const LbpButton = {
26 borderWidth: borderWidth + 'px', 26 borderWidth: borderWidth + 'px',
27 textDecoration: 'none' 27 textDecoration: 'none'
28 }} 28 }}
29 - >{name}</button>) 29 + >{text}</button>)
30 }, 30 },
31 name: 'lbp-button', 31 name: 'lbp-button',
32 props: { 32 props: {
33 - name: { 33 + text: {
34 type: String, 34 type: String,
35 default: '按钮' 35 default: '按钮'
36 }, 36 },