Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8e30a0ca
authored
Oct 26, 2021
by
jack
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
03291bc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/pages/monitor/replay.vue
src/utils/fence.js
src/pages/monitor/replay.vue
View file @
8e30a0c
...
...
@@ -605,6 +605,7 @@ export default {
},
500
);
},
drawPolygon
(
path
)
{
console
.
log
(
'path'
)
EventBus
.
$emit
(
"uiMap.fence.drawPolygon"
,
{
path
,
isEdit
:
false
,
...
...
src/utils/fence.js
View file @
8e30a0c
...
...
@@ -106,7 +106,7 @@ const fence = {
},
createFenceCircle
(
data
){
const
MAP
=
mapService
.
map
;
this
.
destroy
();
//
this.destroy();
this
.
circle
=
new
AMap
.
Circle
({
map
:
MAP
,
...
...
@@ -176,7 +176,7 @@ const fence = {
drawPolygon
(){
const
MAP
=
mapService
.
map
;
const
self
=
this
;
this
.
destroy
();
//
this.destroy();
if
(
this
.
polygonPath
.
length
){
self
.
polygon
=
new
AMap
.
Polygon
({
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment