diff --git a/public/index.html b/public/index.html
index 36e22da..b876b3c 100644
--- a/public/index.html
+++ b/public/index.html
@@ -34,7 +34,12 @@
-
+
+
+
+
+
+
<%= VUE_APP_TITLE %>
diff --git a/src/plugins/index.js b/src/plugins/index.js
index 806f385..19548e4 100644
--- a/src/plugins/index.js
+++ b/src/plugins/index.js
@@ -12,17 +12,9 @@ import "./vabIcon";
import Vab from "@/utils/vab";
import { VabDrag, VabPermissions, VabQueryForm } from "@/layouts/components";
import VabCount from "zx-count";
-import VueAMap from "vue-amap";
-
-VueAMap.initAMapApiLoader({
- key: "19c9d4c0e4b9611cd931a1e4f70788dc",
- plugin: ["Autocomplete", "PlaceSearch", "PolyEditor", "CircleEditor"],
- v: "1.4.4",
-});
Vue.use(Vab);
Vue.use(VabPermissions);
Vue.use(VabDrag);
Vue.use(VabQueryForm);
-Vue.use(VueAMap);
Vue.use(VabCount);
diff --git a/src/router/index.js b/src/router/index.js
index 614dc6e..b76a5c2 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -200,31 +200,12 @@ export const asyncRoutes = [
},
{
path: "map",
- component: EmptyLayout,
- redirect: "noRedirect",
+ component: () => import("@/views/vab/map/index"),
name: "Map",
meta: {
title: "地图",
permissions: ["admin"],
},
- children: [
- {
- path: "maptalks",
- name: "Maptalks",
- component: () => import("@/views/vab/map/index"),
- meta: {
- title: "maptalks地图",
- permissions: ["admin"],
- badge: "Pro",
- },
- },
- {
- path: "amap",
- name: "Amap",
- component: () => import("@/views/vab/map/amap"),
- meta: { title: "高德地图", badge: "New" },
- },
- ],
},
{
diff --git a/src/views/vab/map/amap.vue b/src/views/vab/map/amap.vue
deleted file mode 100644
index e202c64..0000000
--- a/src/views/vab/map/amap.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-