Skip to content

Commit

Permalink
fix: type check failed for prop 'onClick' (#3028)
Browse files Browse the repository at this point in the history
  • Loading branch information
likui628 authored Sep 15, 2023
1 parent b0c2ca5 commit 4ac08e5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/Form/src/components/FormAction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@
</Button>
<slot name="submitBefore"></slot>

<Button
type="primary"
class="mr-2"
v-bind="getSubmitBtnOptions"
@click="submitAction"
v-if="showSubmitButton"
>
<Button type="primary" class="mr-2" v-bind="getSubmitBtnOptions" v-if="showSubmitButton">
{{ getSubmitBtnOptions.text }}
</Button>

Expand All @@ -41,7 +35,6 @@
</template>
<script lang="ts">
import type { ColEx } from '../types/index';
//import type { ButtonProps } from 'ant-design-vue/es/button/buttonTypes';
import { defineComponent, computed, PropType } from 'vue';
import { Form, Col } from 'ant-design-vue';
import { Button, ButtonProps } from '/@/components/Button';
Expand Down

0 comments on commit 4ac08e5

Please sign in to comment.