Browse Source

删除地图依赖

tongshangming 1 month ago
parent
commit
e2973fc972

+ 1 - 2
package.json

@@ -14,9 +14,8 @@
     "micro": "plop micro"
     "micro": "plop micro"
   },
   },
   "dependencies": {
   "dependencies": {
-    "@amap/amap-jsapi-loader": "^1.0.1",
     "@element-plus/icons-vue": "^2.3.1",
     "@element-plus/icons-vue": "^2.3.1",
-    "@fskj-admin/core": "^1.4.13",
+    "@fskj-admin/core": "^1.4.14",
     "@fskj-admin/micro": "^0.1.0",
     "@fskj-admin/micro": "^0.1.0",
     "@icon-park/vue-next": "^1.4.2",
     "@icon-park/vue-next": "^1.4.2",
     "@vueuse/core": "^10.11.1",
     "@vueuse/core": "^10.11.1",

+ 4 - 11
pnpm-lock.yaml

@@ -5,15 +5,12 @@ settings:
   excludeLinksFromLockfile: false
   excludeLinksFromLockfile: false
 
 
 dependencies:
 dependencies:
-  '@amap/amap-jsapi-loader':
-    specifier: ^1.0.1
-    version: 1.0.1
   '@element-plus/icons-vue':
   '@element-plus/icons-vue':
     specifier: ^2.3.1
     specifier: ^2.3.1
     version: 2.3.1(vue@3.4.38)
     version: 2.3.1(vue@3.4.38)
   '@fskj-admin/core':
   '@fskj-admin/core':
-    specifier: ^1.4.13
-    version: 1.4.13
+    specifier: ^1.4.14
+    version: 1.4.14
   '@fskj-admin/micro':
   '@fskj-admin/micro':
     specifier: ^0.1.0
     specifier: ^0.1.0
     version: 0.1.0
     version: 0.1.0
@@ -169,10 +166,6 @@ devDependencies:
 
 
 packages:
 packages:
 
 
-  /@amap/amap-jsapi-loader@1.0.1:
-    resolution: {integrity: sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw==}
-    dev: false
-
   /@ampproject/remapping@2.3.0:
   /@ampproject/remapping@2.3.0:
     resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
     resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
     engines: {node: '>=6.0.0'}
     engines: {node: '>=6.0.0'}
@@ -1067,8 +1060,8 @@ packages:
     resolution: {integrity: sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==}
     resolution: {integrity: sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==}
     dev: false
     dev: false
 
 
-  /@fskj-admin/core@1.4.13:
-    resolution: {integrity: sha512-5s6ctVH0b90+HmCN2N9JqF7E4L8syby/LtRmZJWYF5Jnv3xR61/WamXCqKV09357+RFwsmn0fFX3j8zyE0mCuw==}
+  /@fskj-admin/core@1.4.14:
+    resolution: {integrity: sha512-tgrITaRbMrWzBmGy5b4rh5wa9njRgYW7jxVMD8Y4E9+Js4vvnBNt5J7hvwP52fhT1pWuCY3eqqncz49ZNExvpA==}
     dev: false
     dev: false
 
 
   /@fskj-admin/micro@0.1.0:
   /@fskj-admin/micro@0.1.0:

+ 1 - 1
src/components/FsMapPicker/components/amap.vue

@@ -1,5 +1,5 @@
 <script setup lang="ts">
 <script setup lang="ts">
-import AMapLoader from '@amap/amap-jsapi-loader'
+// import AMapLoader from '@amap/amap-jsapi-loader'
 import { CircleCheck, Location, Plus, Search } from '@element-plus/icons-vue'
 import { CircleCheck, Location, Plus, Search } from '@element-plus/icons-vue'
 import { ElMessage, type AutocompleteInstance } from 'element-plus'
 import { ElMessage, type AutocompleteInstance } from 'element-plus'
 
 

+ 1 - 1
src/views/extension/map/amapTrack.vue

@@ -1,5 +1,5 @@
 <script lang="ts" setup>
 <script lang="ts" setup>
-import AMapLoader from '@amap/amap-jsapi-loader'
+// import AMapLoader from '@amap/amap-jsapi-loader'
 
 
 /* 地图容器 */
 /* 地图容器 */
 const trackMapRef = ref<HTMLElement | null>(null)
 const trackMapRef = ref<HTMLElement | null>(null)