Commit e108b4dd authored by zhangjianqian's avatar zhangjianqian

修改画管道图报错

parent c4820283
......@@ -104,8 +104,8 @@ export default {
this.map.mouseAddMarker();
}
} else {
console.log(this.pipePath.length)
if (this.pipePath.length > 0) {
//console.log(this.pipePath.length)
if (this.pipePath!=null && this.pipePath.length > 0) {
this.map.addPipeLine({ path: this.pipePath });
} else {
this.map.mouseAddPipeline();
......
......@@ -269,6 +269,8 @@ export default {
coordinateslist:null,
// 遮罩层
loading: true,
pipeList:[],
// 导出遮罩层
exportLoading: false,
// 选中数组
......
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