|
@@ -179,6 +179,7 @@
|
|
|
//点击左侧人员列表获取轨迹
|
|
|
getLeaderTrack(userId) {
|
|
|
let that=this
|
|
|
+ this.connectList=[]
|
|
|
getLeaderTrack(userId).then(res => {
|
|
|
if(res.data!=null&&res.data.length>0){
|
|
|
for (let i = 0; i < res.data.length; i++) {
|
|
@@ -199,6 +200,7 @@
|
|
|
},
|
|
|
|
|
|
setConnectList(points){
|
|
|
+ this.connectList=[]
|
|
|
if(points!=null&&points!=""){
|
|
|
this.connectList=JSON.parse(points);
|
|
|
this.$refs.supermap.clearC()
|