diff --git a/package-lock.json b/package-lock.json index 54f7fbf..1bf72a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "tdesign-vue-next": "^1.9.3", "vite-plugin-mock": "^3.0.1", "vue": "^3.4.21", + "vue-draggable-plus": "^0.4.0", "vue-router": "^4.3.0" }, "devDependencies": { @@ -4505,6 +4506,19 @@ } } }, + "node_modules/vue-draggable-plus": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/vue-draggable-plus/-/vue-draggable-plus-0.4.0.tgz", + "integrity": "sha512-CcvSopMmSZY9McCdQ56QsAydT5cZilx9LzLU0UIz6KDYe9ll6QnmNHN80t6wnxN402ZECSXc5X1dm/myiMFi+A==", + "peerDependencies": { + "@types/sortablejs": "^1.15.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, "node_modules/vue-router": { "version": "4.3.0", "license": "MIT", diff --git a/package.json b/package.json index f7e0f63..e88802e 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "tdesign-vue-next": "^1.9.3", "vite-plugin-mock": "^3.0.1", "vue": "^3.4.21", + "vue-draggable-plus": "^0.4.0", "vue-router": "^4.3.0" }, "devDependencies": { diff --git a/src/layout/components/LayoutAside.vue b/src/layout/components/LayoutAside.vue index 5ee21e2..5812d6c 100644 --- a/src/layout/components/LayoutAside.vue +++ b/src/layout/components/LayoutAside.vue @@ -1,6 +1,6 @@