mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-25 02:58:43 +08:00
fix: type check failed for prop 'onClick' (#3028)
This commit is contained in:
parent
b0c2ca5393
commit
4ac08e5ae5
@ -14,13 +14,7 @@
|
|||||||
</Button>
|
</Button>
|
||||||
<slot name="submitBefore"></slot>
|
<slot name="submitBefore"></slot>
|
||||||
|
|
||||||
<Button
|
<Button type="primary" class="mr-2" v-bind="getSubmitBtnOptions" v-if="showSubmitButton">
|
||||||
type="primary"
|
|
||||||
class="mr-2"
|
|
||||||
v-bind="getSubmitBtnOptions"
|
|
||||||
@click="submitAction"
|
|
||||||
v-if="showSubmitButton"
|
|
||||||
>
|
|
||||||
{{ getSubmitBtnOptions.text }}
|
{{ getSubmitBtnOptions.text }}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
@ -41,7 +35,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { ColEx } from '../types/index';
|
import type { ColEx } from '../types/index';
|
||||||
//import type { ButtonProps } from 'ant-design-vue/es/button/buttonTypes';
|
|
||||||
import { defineComponent, computed, PropType } from 'vue';
|
import { defineComponent, computed, PropType } from 'vue';
|
||||||
import { Form, Col } from 'ant-design-vue';
|
import { Form, Col } from 'ant-design-vue';
|
||||||
import { Button, ButtonProps } from '/@/components/Button';
|
import { Button, ButtonProps } from '/@/components/Button';
|
||||||
|
Loading…
Reference in New Issue
Block a user