Commit 230d5bbc17882c7622cd62765f07b9159afff208
1 parent
3eab1195
fix(plugin:submit-button): add disabled prop to disable submit form in edit mode
Showing
1 changed file
with
5 additions
and
1 deletions
front-end/h5/src/components/plugins/lbp-form-button.js
| @@ -44,7 +44,11 @@ export default { | @@ -44,7 +44,11 @@ export default { | ||
| 44 | borderWidth: commonProps.borderWidth, | 44 | borderWidth: commonProps.borderWidth, |
| 45 | borderRadius: commonProps.borderRadius, | 45 | borderRadius: commonProps.borderRadius, |
| 46 | borderColor: commonProps.borderColor, | 46 | borderColor: commonProps.borderColor, |
| 47 | - textAlign: commonProps.textAlign() | 47 | + textAlign: commonProps.textAlign(), |
| 48 | + disabled: { | ||
| 49 | + type: Boolean, | ||
| 50 | + default: false | ||
| 51 | + } | ||
| 48 | }, | 52 | }, |
| 49 | methods: { | 53 | methods: { |
| 50 | handleClick () { | 54 | handleClick () { |