1、html <el-table :data="tableData" @selection-change="handleSelectionChange" class="my-table" :row-key="getRowKeys" border v-loading="loading" highlight-current-row ref="multipleTableRef" :header-cell-style="{ background: 'var(--el-fill-color-light)', }" > <el-table-column :reser...
typeof el === 'string' ? document?.querySelector(el) : unref(el) if (!target) return sortable = new Sortable(target as HTMLElement, { ...defaultOptions, ...options }) } const stop = () => sortable?.destroy() onMounted(start) onUnmounted(stop) return { stop, start } }2...
ref="el" class="flex flex-col gap-2 p-4 w-300px bg-gray-500/5 rounded" class="flex flex-col p-4 gap-2 w-300px bg-gray-500/5 rounded" > <div v-for="(item, index) in list" :key="item.id" class="h-50px bg-gray-500/5 rounded flex items-center justify-between px...