@@ -10,8 +10,12 @@
:title="title"
@confirm="confirm"
:isWrapTeleport="isWrapTeleport"
- ><slot></slot
- ></nut-picker>
+ >
+ <template #top>
+ <slot name="top"></slot>
+ </template>
+ <slot></slot>
+ </nut-picker>
</template>
<script lang="ts">
import { toRefs, watch, computed, reactive, onBeforeMount } from 'vue';
@@ -12,6 +12,9 @@
:threeDimensional="threeDimensional"
>
<slot></slot>
</nut-picker>