Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vipSupplier
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王淑敏
vipSupplier
Commits
66c6e554
Commit
66c6e554
authored
Jul 28, 2020
by
初志鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除高德地图组件
parent
bd56277b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
56 deletions
+7
-56
public/index.html
+6
-1
src/plugins/index.js
+0
-8
src/router/index.js
+1
-20
src/views/vab/map/amap.vue
+0
-27
No files found.
public/index.html
View file @
66c6e554
...
...
@@ -34,7 +34,12 @@
<div
id=
"vue-admin-beautiful"
>
<div
class=
"first-loading-wrp"
>
<div
class=
"loading-wrp"
>
<span
class=
"dot dot-spin"
><i></i><i></i><i></i><i></i></span>
<span
class=
"dot dot-spin"
>
<i></i>
<i></i>
<i></i>
<i></i>
</span>
</div>
<h1><
%=
VUE_APP_TITLE
%
></h1>
</div>
...
...
src/plugins/index.js
View file @
66c6e554
...
...
@@ -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
);
src/router/index.js
View file @
66c6e554
...
...
@@ -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"
},
},
],
},
{
...
...
src/views/vab/map/amap.vue
deleted
100644 → 0
View file @
bd56277b
<
template
>
<div
class=
"amap-container"
>
<div
id=
"amap"
class=
"container"
>
<el-amap
vid=
"amapDemo"
></el-amap>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"Amap"
,
data
()
{
return
{};
},
created
()
{},
mounted
()
{},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.amap-container
{
.container
{
width
:
100%
;
height
:
calc
(
100vh
-
214px
);
}
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment