diff --git a/packages/integrations/useSortable/demo.vue b/packages/integrations/useSortable/demo.vue index c349bea93ec..c3fe3b19821 100644 --- a/packages/integrations/useSortable/demo.vue +++ b/packages/integrations/useSortable/demo.vue @@ -5,12 +5,18 @@ import { useSortable } from '.' const el = ref(null) const list = ref([{ id: 1, name: 'a' }, { id: 2, name: 'b' }, { id: 3, name: 'c' }]) -useSortable(el, list, { +const { option } = useSortable(el, list, { animation: 150, })