Commit cd9bcd7f authored by 张牧越's avatar 张牧越

fix

parent 7aaec1a0
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
components: {}, components: {},
data() { data() {
return { return {
signIn: false, signIn: true,
}; };
}, },
methods: { methods: {
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
if (isChrome) { if (isChrome) {
this.bodyScale(); this.bodyScale();
} }
this.checkLogin(); // this.checkLogin();
}, },
}; };
</script> </script>
......
...@@ -459,7 +459,9 @@ export default { ...@@ -459,7 +459,9 @@ export default {
}); });
this.switchPm10Rate(this.pm10rate); this.switchPm10Rate(this.pm10rate);
this.switchDustList(this.dustType); this.switchDustList(this.dustType);
getVideoImportList().then((res) => {
this.videoData = res.data;
});
getMapData().then((res) => { getMapData().then((res) => {
var newChangxingData = []; var newChangxingData = [];
this.dustData = res.data; this.dustData = res.data;
...@@ -481,9 +483,6 @@ export default { ...@@ -481,9 +483,6 @@ export default {
}); });
this.initMapData("map-container", changxingJson, newChangxingData, 1); this.initMapData("map-container", changxingJson, newChangxingData, 1);
}); });
getVideoImportList().then((res) => {
this.videoData = res.data;
});
}, },
async load() { async load() {
...@@ -557,7 +556,7 @@ export default { ...@@ -557,7 +556,7 @@ export default {
}, },
z: 1, z: 1,
animationDurationUpdate: 0, animationDurationUpdate: 0,
roam: true, roam: false,
regins: [], regins: [],
data: outdata, data: outdata,
}, },
...@@ -568,6 +567,7 @@ export default { ...@@ -568,6 +567,7 @@ export default {
aspectScale: 0.9, aspectScale: 0.9,
layoutCenter: ["50%", "50%"], //地图位置 layoutCenter: ["50%", "50%"], //地图位置
layoutSize: _layoutSize, layoutSize: _layoutSize,
label: { label: {
normal: { normal: {
show: false, show: false,
...@@ -643,7 +643,7 @@ export default { ...@@ -643,7 +643,7 @@ export default {
z: 1, z: 1,
data: outdata, data: outdata,
roam: true, roam: false,
}, },
{ {
......
...@@ -223,7 +223,7 @@ export default { ...@@ -223,7 +223,7 @@ export default {
}, },
methods: { methods: {
getProjectDetail() { getProjectDetail() {
getProjectDetail(25444).then((res) => { getProjectDetail(this.projectId).then((res) => {
this.projectDetail = res.data; this.projectDetail = res.data;
}); });
}, },
......
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