Browse Source

修改地图插件问题

dev-warehouse
pref_mail@163.com 2 years ago
parent
commit
019f62ea84
  1. 5
      package.json
  2. 7
      src/main.js
  3. 2
      src/views/distribution/delivery/distributionDelivery.vue

5
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"

7
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);

2
src/views/distribution/delivery/distributionDelivery.vue

@ -144,7 +144,7 @@
</template>
<script>
import { addDelivery, getDetailDelivery, addDelivery, updateDelivery, removeDelivery } from "@/api/distribution/distributionDelivery";
import { addDelivery, getDetailDelivery, updateDelivery, removeDelivery } from "@/api/distribution/distributionDelivery";
import option from "@/option/distribution/distributionDelivery";
import { mapGetters } from "vuex";

Loading…
Cancel
Save