push
This commit is contained in:
16
lib/component/form/input/input-number.vue
Normal file
16
lib/component/form/input/input-number.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<a-input-number>
|
||||
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
|
||||
<slot :name="item" v-bind="data || {}"> </slot>
|
||||
</template>
|
||||
</a-input-number>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
export default defineComponent({
|
||||
name: 'NsInputNumber',
|
||||
setup() {
|
||||
return {};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user