<template>
<a-table :columns="columns" :data-source="dataSource" bordered></a-table>
</template>
<script>
import Sortable from 'sortablejs'
import {
defineComponent, onMounted, ref } from 'vue';
import {
message } from 'ant-design-vue';
const data = [];
for (let i = 0; i < 100; i++) {
data.push({
key: i.toString(),
name: `Edrward ${
i}`,
age: 32,
address: `London Park no. ${
i
antdesign表格使用Sortable进行行列拖拽
最新推荐文章于 2024-07-26 11:41:15 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)