Skip to content

Commit 230d5bb

Browse files
committed
fix(plugin:submit-button): add disabled prop to disable submit form in edit mode
1 parent 3eab119 commit 230d5bb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

front-end/h5/src/components/plugins/lbp-form-button.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ export default {
4444
borderWidth: commonProps.borderWidth,
4545
borderRadius: commonProps.borderRadius,
4646
borderColor: commonProps.borderColor,
47-
textAlign: commonProps.textAlign()
47+
textAlign: commonProps.textAlign(),
48+
disabled: {
49+
type: Boolean,
50+
default: false
51+
}
4852
},
4953
methods: {
5054
handleClick () {

0 commit comments

Comments
 (0)