File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
docs/.vitepress/components
playground/src/views/examples/vxe-table Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
2+ import type { SetupContext } from ' vue' ;
3+
24import { computed , ref , useSlots } from ' vue' ;
35
46import { VbenTooltip } from ' @vben-core/shadcn-ui' ;
@@ -25,7 +27,7 @@ const props = withDefaults(
2527
2628const open = ref (false );
2729
28- const slots = useSlots ();
30+ const slots: SetupContext [ ' slots ' ] = useSlots ();
2931
3032const tabs = computed (() => {
3133 return props .files .map ((file ) => {
Original file line number Diff line number Diff line change 11<script lang="ts" setup>
22import type { UseResizeObserverReturn } from ' @vueuse/core' ;
33
4- import type { VNodeArrayChildren } from ' vue' ;
4+ import type { SetupContext , VNodeArrayChildren } from ' vue' ;
55
66import type {
77 MenuItemClicked ,
@@ -55,7 +55,7 @@ const emit = defineEmits<{
5555
5656const { b, is } = useNamespace (' menu' );
5757const menuStyle = useMenuStyle ();
58- const slots = useSlots ();
58+ const slots: SetupContext [ ' slots ' ] = useSlots ();
5959const menu = ref <HTMLUListElement >();
6060const sliceIndex = ref (- 1 );
6161const openedMenus = ref <MenuProvider [' openedMenus' ]>(
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ const formOptions: VbenFormProps = {
6161 },
6262 {
6363 component: ' RangePicker' ,
64- defaultValue: [dayjs ().subtract (- 7 , ' days' ), dayjs ()],
64+ defaultValue: [dayjs ().subtract (7 , ' days' ), dayjs ()],
6565 fieldName: ' date' ,
6666 label: ' Date' ,
6767 },
You can’t perform that action at this time.
0 commit comments