Skip to content

Commit

Permalink
fix(plugin:submit-button): add disabled prop to disable submit form i…
Browse files Browse the repository at this point in the history
…n edit mode
  • Loading branch information
ly525 committed Dec 15, 2019
1 parent 3eab119 commit 230d5bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion front-end/h5/src/components/plugins/lbp-form-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ export default {
borderWidth: commonProps.borderWidth,
borderRadius: commonProps.borderRadius,
borderColor: commonProps.borderColor,
textAlign: commonProps.textAlign()
textAlign: commonProps.textAlign(),
disabled: {
type: Boolean,
default: false
}
},
methods: {
handleClick () {
Expand Down

0 comments on commit 230d5bb

Please sign in to comment.