Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
A
amap-line-edit
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
feng
amap-line-edit
Commits
41723c7b
Commit
41723c7b
authored
Mar 19, 2019
by
aoobao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改擦除bug,修改选中后线条颜色
parent
e38fa798
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/components/LineManager.vue
src/components/LineManager.vue
+2
-2
src/views/Home.vue
src/views/Home.vue
+1
-1
No files found.
src/components/LineManager.vue
View file @
41723c7b
...
...
@@ -69,13 +69,13 @@ export default {
mapMouseDown
(
e
)
{
// console.log(e)
this
.
down
=
true
if
(
this
.
manager
)
{
if
(
this
.
manager
&&
this
.
isClear
)
{
this
.
manager
.
clearLine
(
e
.
pixel
,
this
.
clearWidth
)
}
},
mapMouseMove
(
e
)
{
// console.log(e)
if
(
this
.
down
&&
this
.
manager
)
{
if
(
this
.
down
&&
this
.
manager
&&
this
.
isClear
)
{
this
.
manager
.
clearLine
(
e
.
pixel
,
this
.
clearWidth
)
}
},
...
...
src/views/Home.vue
View file @
41723c7b
...
...
@@ -210,7 +210,7 @@ export default {
lineMouseOver
(
data
,
index
)
{
this
.
lineList
.
splice
(
index
,
1
,
{
...
data
,
color
:
'
yellow
'
color
:
'
orange
'
})
//data.color = 'yellow'
},
...
...
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