push
This commit is contained in:
19
lib/component/form/input/input-search.vue
Normal file
19
lib/component/form/input/input-search.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<a-input-search>
|
||||
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
|
||||
<slot :name="item" v-bind="data || {}"> </slot>
|
||||
</template>
|
||||
</a-input-search>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'NsInputSearch',
|
||||
});
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
:deep(.ant-btn) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user