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

This commit is contained in:
open-carp 2023-09-18 10:03:52 +08:00 committed by GitHub
parent 99ddc3598a
commit 74a2f6209f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,13 @@
</Button> </Button>
<slot name="submitBefore"></slot> <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 }} {{ getSubmitBtnOptions.text }}
</Button> </Button>