Browse Source

fix: FormAction组件 绑定表单提交事件 (#3036)

pull/3044/head
open-carp 3 years ago
committed by GitHub
parent
commit
74a2f6209f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/components/Form/src/components/FormAction.vue

8
src/components/Form/src/components/FormAction.vue

@ -14,7 +14,13 @@
</Button>
<slot name="submitBefore"></slot>
<Button type="primary" class="mr-2" v-bind="getSubmitBtnOptions" v-if="showSubmitButton">
<Button
type="primary"
class="mr-2"
v-bind="getSubmitBtnOptions"
@click="submitAction"
v-if="showSubmitButton"
>
{{ getSubmitBtnOptions.text }}
</Button>

Loading…
Cancel
Save