From 230d5bbc17882c7622cd62765f07b9159afff208 Mon Sep 17 00:00:00 2001 From: ly525 Date: Sun, 15 Dec 2019 17:29:28 +0800 Subject: [PATCH] fix(plugin:submit-button): add disabled prop to disable submit form in edit mode --- front-end/h5/src/components/plugins/lbp-form-button.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/front-end/h5/src/components/plugins/lbp-form-button.js b/front-end/h5/src/components/plugins/lbp-form-button.js index 544cf4e4..1361203e 100644 --- a/front-end/h5/src/components/plugins/lbp-form-button.js +++ b/front-end/h5/src/components/plugins/lbp-form-button.js @@ -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 () {