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 | 44 | borderWidth: commonProps.borderWidth, |
| 45 | 45 | borderRadius: commonProps.borderRadius, |
| 46 | 46 | borderColor: commonProps.borderColor, |
| 47 | - textAlign: commonProps.textAlign() | |
| 47 | + textAlign: commonProps.textAlign(), | |
| 48 | + disabled: { | |
| 49 | + type: Boolean, | |
| 50 | + default: false | |
| 51 | + } | |
| 48 | 52 | }, |
| 49 | 53 | methods: { |
| 50 | 54 | handleClick () { | ... | ... |