Commit 8dbf48d3 authored by 朱松文's avatar 朱松文

移除console.log

parent c1482458
...@@ -7,7 +7,6 @@ import api from '@/configs/apiConfig' ...@@ -7,7 +7,6 @@ import api from '@/configs/apiConfig'
*/ */
class NetUtil { class NetUtil {
static baseUrl = "http://10.2.60.59:9110/";
static token = ''; static token = '';
/** /**
......
...@@ -123,7 +123,7 @@ export default class Dashboard extends BaseVue { ...@@ -123,7 +123,7 @@ export default class Dashboard extends BaseVue {
async handlePlay(dog: DogData): Promise<void> { async handlePlay(dog: DogData): Promise<void> {
if (!dog) return; if (!dog) return;
console.log("dogInfo", dog); // console.log("dogInfo", dog);
this.currentDogId = dog.id; this.currentDogId = dog.id;
this.videoUrl = dog.fileName; //dog.videoUrl; this.videoUrl = dog.fileName; //dog.videoUrl;
const this_ = this; const this_ = this;
...@@ -146,7 +146,7 @@ export default class Dashboard extends BaseVue { ...@@ -146,7 +146,7 @@ export default class Dashboard extends BaseVue {
(d) => d.DogId === "1440845582095753223" //this.dogData[0].id (d) => d.DogId === "1440845582095753223" //this.dogData[0].id
); );
} }
console.log("trackData", this.trackData); // console.log("trackData", this.trackData);
//@ts-ignore //@ts-ignore
myVideo.onTrackDataChange(this_.trackData); myVideo.onTrackDataChange(this_.trackData);
}, 100); }, 100);
......
...@@ -44,7 +44,6 @@ export default class DogHot extends Vue { ...@@ -44,7 +44,6 @@ export default class DogHot extends Vue {
"热力图仅对支持canvas的浏览器适用,您所使用的浏览器不能使用热力图功能,请换个浏览器试试~" "热力图仅对支持canvas的浏览器适用,您所使用的浏览器不能使用热力图功能,请换个浏览器试试~"
); );
} }
this.queryCarmeras();
} }
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
...@@ -61,6 +60,8 @@ export default class DogHot extends Vue { ...@@ -61,6 +60,8 @@ export default class DogHot extends Vue {
radius: 25, //给定半径 radius: 25, //给定半径
opacity: [0, 0.8], opacity: [0, 0.8],
}); });
//heatmap对象创建成功以后再给热点数据
this_.queryCarmeras();
}); });
}); });
} }
...@@ -100,7 +101,6 @@ export default class DogHot extends Vue { ...@@ -100,7 +101,6 @@ export default class DogHot extends Vue {
count: d.number, count: d.number,
}); });
}); });
console.log("经纬度", ar);
return ar; return ar;
} }
......
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