Skip to content

Commit

Permalink
fix: FormAction组件 绑定表单提交事件 (#3036)
Browse files Browse the repository at this point in the history
  • Loading branch information
open-carp committed Sep 18, 2023
1 parent 99ddc35 commit 74a2f62
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/Form/src/components/FormAction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 74a2f62

Please sign in to comment.