diff --git a/package.json b/package.json index 57797995..d36ba8d3 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "serve": "vite preview --host" }, "dependencies": { - "@amap/amap-jsapi-loader": "^1.0.1", "@antfu/utils": "^0.7.2", "@element-plus/icons-vue": "^2.0.9", "@saber/nf-design-base-elp": "^1.0.0", @@ -15,7 +14,6 @@ "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^5.1.12", "animate.css": "^4.1.1", - "avue-plugin-map": "^1.0.1", "axios": "^0.21.1", "crypto-js": "^4.1.1", "dayjs": "^1.10.6", @@ -29,8 +27,7 @@ "nprogress": "^0.2.0", "vite-plugin-mock": "^2.9.4", "vue": "^3.2.40", - "vue-amap": "^0.5.10", - "vue-bmap-gl": "^0.1.2", + "vue-baidu-map": "^0.21.22", "vue-i18n": "^9.1.9", "vue-router": "^4.1.5", "vuex": "^4.0.2" diff --git a/src/main.js b/src/main.js index fb1c7da6..ea9563ab 100644 --- a/src/main.js +++ b/src/main.js @@ -27,10 +27,6 @@ import dayjs from 'dayjs'; import 'styles/common.scss'; // 业务组件 import tenantPackage from './views/system/tenantpackage.vue'; -import AvueMap from 'avue-plugin-map'; -import AMap from 'vue-amap' - - window.$crudCommon = crudCommon; @@ -51,8 +47,7 @@ app.config.globalProperties.website = website; app.config.globalProperties.getScreen = getScreen; app.use(error); app.use(i18n); -app.use(AvueMap); -app.use(AMap); + diff --git a/src/views/distribution/delivery/distributionDelivery.vue b/src/views/distribution/delivery/distributionDelivery.vue index 400b2ffd..16412cb2 100644 --- a/src/views/distribution/delivery/distributionDelivery.vue +++ b/src/views/distribution/delivery/distributionDelivery.vue @@ -144,7 +144,7 @@