This commit is contained in:
dap
2025-01-01 12:57:20 +08:00
251 changed files with 619 additions and 959 deletions

View File

@@ -1,15 +1,11 @@
import type { Sortable } from '@vben-core/composables';
import type { EmitType } from '@vben-core/typings';
import type { TabsProps } from './types';
import { useIsMobile, useSortable } from '@vben-core/composables';
import { nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
import {
type Sortable,
useIsMobile,
useSortable,
} from '@vben-core/composables';
// 可能会找到拖拽的子元素这里需要确保拖拽的dom时tab元素
function findParentElement(element: HTMLElement) {
const parentCls = 'group';