18 lines
417 B
18 lines
417 B
<template>
|
|
<a-tree-select>
|
|
<template #[item]="data" v-for="item in Object.keys($slots)" :key="item">
|
|
<slot :name="item" v-bind="data || {}"></slot>
|
|
</template>
|
|
</a-tree-select>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
|
|
export default defineComponent({
|
|
name: 'NsSelectTree',
|
|
props: {},
|
|
setup(props) {},
|
|
});
|
|
</script>
|
|
<style lang="less" scoped></style>
|
|
|