Commit 8cff80cb by jack

修复bug

1 parent dca4b7ee
......@@ -133,7 +133,10 @@ export default {
isSearching: false,
resultBoxHidden: true,
form: {
dateRange: [this.$route.query.startTime||moment().subtract(6, "hours"), this.$route.query.endTime||moment()],
dateRange: [
this.$route.query.startTime || moment().subtract(6, "hours"),
this.$route.query.endTime || moment(),
],
timerange: "1",
replaySpeed: 1,
speedOpts: [
......@@ -605,7 +608,7 @@ export default {
}, 500);
},
drawPolygon(path) {
console.log('path')
console.log("path");
EventBus.$emit("uiMap.fence.drawPolygon", {
path,
isEdit: false,
......@@ -616,6 +619,7 @@ export default {
getFence() {
MONITOR_SERVICE.getFenceInfo({
sn: this.sn,
fenceId: this.fenceId,
}).then((res) => {
console.log(res);
let list = res.data || [];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!