diff --git a/package-lock.json b/package-lock.json index f8405f6..bf09db6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "echarts-gl": "^2.0.9", "mitt": "^3.0.1", "pinia": "^2.1.7", + "v-click-outside": "^3.2.0", "vue": "^3.3.8", "vue-router": "^4.2.5" }, @@ -1229,6 +1230,14 @@ "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz", "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" }, + "node_modules/v-click-outside": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/v-click-outside/-/v-click-outside-3.2.0.tgz", + "integrity": "sha512-QD0bDy38SHJXQBjgnllmkI/rbdiwmq9RC+/+pvrFjYJKTn8dtp7Penf9q1lLBta280fYG2q53mgLhQ+3l3z74w==", + "engines": { + "node": ">=6" + } + }, "node_modules/vite": { "version": "5.0.2", "resolved": "https://registry.npmmirror.com/vite/-/vite-5.0.2.tgz", diff --git a/package.json b/package.json index 52466e4..89418aa 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "echarts-gl": "^2.0.9", "mitt": "^3.0.1", "pinia": "^2.1.7", + "v-click-outside": "^3.2.0", "vue": "^3.3.8", "vue-router": "^4.2.5" }, diff --git a/src/components/areaList.vue b/src/components/areaList.vue index ea85665..23f0265 100644 --- a/src/components/areaList.vue +++ b/src/components/areaList.vue @@ -1,5 +1,5 @@