Commit 481b980f authored by Your Name's avatar Your Name

大屏显示

parent f9ecf430
...@@ -73,6 +73,7 @@ export default { ...@@ -73,6 +73,7 @@ export default {
authType: this.backToken, authType: this.backToken,
}) })
.then((res) => { .then((res) => {
// console.log(res.data.data)
if (res.status == 200) { if (res.status == 200) {
if (res.data.resultCode == 200) { if (res.data.resultCode == 200) {
let resData = res.data.data; let resData = res.data.data;
......
...@@ -44,6 +44,7 @@ export default { ...@@ -44,6 +44,7 @@ export default {
.$https({ .$https({
method: "post", method: "post",
url: httpUrl, url: httpUrl,
authType: _this.backToken,
}) })
.then((res) => { .then((res) => {
if (res.status == 200) { if (res.status == 200) {
...@@ -246,7 +247,7 @@ export default { ...@@ -246,7 +247,7 @@ export default {
//geoJson必须这种格式 //geoJson必须这种格式
mapJson.features = Json; mapJson.features = Json;
//去渲染echarts //去渲染echarts
console.log(mapData) // console.log(mapData)
this.initEcharts(mapData, mapJson); this.initEcharts(mapData, mapJson);
}, },
initEcharts(mapData, mapJson) { initEcharts(mapData, mapJson) {
......
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