Commit 41723c7b authored by aoobao's avatar aoobao

修改擦除bug,修改选中后线条颜色

parent e38fa798
......@@ -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)
}
},
......
......@@ -210,7 +210,7 @@ export default {
lineMouseOver (data, index) {
this.lineList.splice(index, 1, {
...data,
color: 'yellow'
color: 'orange'
})
//data.color = 'yellow'
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment