From a4f40b112546b91dfa0723b261d00c25e8a0e318 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?cls=5F=E5=AE=81=E6=B3=A2=E6=9C=AC=E6=9C=BA?=
<908705107@qq.com>
Date: Thu, 11 Jun 2026 09:36:25 +0800
Subject: [PATCH] chore: remove table drag dependency
---
web/apps/web-ele/package.json | 3 +--
.../src/components/zq-table/zq-table.vue | 18 ++++--------------
web/pnpm-lock.yaml | 18 ------------------
3 files changed, 5 insertions(+), 34 deletions(-)
diff --git a/web/apps/web-ele/package.json b/web/apps/web-ele/package.json
index 9d813ae..fb11d5a 100644
--- a/web/apps/web-ele/package.json
+++ b/web/apps/web-ele/package.json
@@ -53,8 +53,7 @@
"grid-layout-plus": "1.1.1",
"pinia": "catalog:",
"vue": "catalog:",
- "vue-router": "catalog:",
- "vuedraggable": "^4.1.0"
+ "vue-router": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-basic-ssl": "^2.1.0",
diff --git a/web/apps/web-ele/src/components/zq-table/zq-table.vue b/web/apps/web-ele/src/components/zq-table/zq-table.vue
index 644f32a..cc09909 100644
--- a/web/apps/web-ele/src/components/zq-table/zq-table.vue
+++ b/web/apps/web-ele/src/components/zq-table/zq-table.vue
@@ -18,7 +18,6 @@ import { usePriorityValues } from '@vben/hooks';
import {
EmptyIcon,
ListFilter,
- GripVertical as LucideGripVertical,
Pin as LucidePin,
RotateCcw as LucideRotateCcw,
} from '@vben/icons';
@@ -50,7 +49,6 @@ import {
ElTableColumn,
ElTooltip,
} from 'element-plus';
-import draggable from 'vuedraggable';
import { DeptSelector } from '../zq-form/dept-selector';
import { PostSelector } from '../zq-form/post-selector';
@@ -1142,19 +1140,11 @@ function getSummaryMethod(param: { columns: any[]; data: any[] }) {
-
-
+
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index 1a0a42f..9be18ea 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -728,9 +728,6 @@ importers:
vue-router:
specifier: 'catalog:'
version: 4.6.3(vue@3.5.25(typescript@5.9.3))
- vuedraggable:
- specifier: ^4.1.0
- version: 4.1.0(vue@3.5.25(typescript@5.9.3))
devDependencies:
'@vitejs/plugin-basic-ssl':
specifier: ^2.1.0
@@ -9430,9 +9427,6 @@ packages:
smob@1.5.0:
resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==}
- sortablejs@1.14.0:
- resolution: {integrity: sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w==}
-
sortablejs@1.15.6:
resolution: {integrity: sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A==}
@@ -10508,11 +10502,6 @@ packages:
typescript:
optional: true
- vuedraggable@4.1.0:
- resolution: {integrity: sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==}
- peerDependencies:
- vue: ^3.5.17
-
vxe-pc-ui@4.10.39:
resolution: {integrity: sha512-FvMs2A5B0CR4rlBDLsU4kZEYLixfn+1KDCOJd6p3tCSOkesZqmpkOb/KLuG+IomNHbmhFgSMkJeTVjxr6LI4tg==}
@@ -19329,8 +19318,6 @@ snapshots:
smob@1.5.0: {}
- sortablejs@1.14.0: {}
-
sortablejs@1.15.6: {}
source-map-js@1.2.1: {}
@@ -20687,11 +20674,6 @@ snapshots:
optionalDependencies:
typescript: 5.9.3
- vuedraggable@4.1.0(vue@3.5.25(typescript@5.9.3)):
- dependencies:
- sortablejs: 1.14.0
- vue: 3.5.25(typescript@5.9.3)
-
vxe-pc-ui@4.10.39(vue@3.5.25(typescript@5.9.3)):
dependencies:
'@vxe-ui/core': 4.2.15(vue@3.5.25(typescript@5.9.3))