You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
436 B
19 lines
436 B
<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>
|
|
|