@@ -225,6 +225,7 @@ | |||||
</div> | </div> | ||||
<div style="height: 350px; width: 94%; margin: 0 auto"> | <div style="height: 350px; width: 94%; margin: 0 auto"> | ||||
<div id="data6" style="height: 350px"></div> | <div id="data6" style="height: 350px"></div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -1133,10 +1134,16 @@ export default { | |||||
}, | }, | ||||
], | ], | ||||
}; | }; | ||||
option && myChart.setOption(option); | |||||
try{ | |||||
option && myChart.setOption(option); | |||||
window.addEventListener("resize", () => { | window.addEventListener("resize", () => { | ||||
myChart.resize(); | myChart.resize(); | ||||
}); | }); | ||||
} | |||||
catch(err){ | |||||
console.log(err,data1); | |||||
} | |||||
}, | }, | ||||
handleCurrentChange(e) { | handleCurrentChange(e) { | ||||
this.current = e; | this.current = e; | ||||
@@ -3,9 +3,9 @@ | |||||
* https://cli.vuejs.org/zh/config/ | * https://cli.vuejs.org/zh/config/ | ||||
*/ | */ | ||||
// const url = 'http://pigx-gateway' | // const url = 'http://pigx-gateway' | ||||
const url = 'http://39.97.167.65:9999' //测试 | |||||
// const url = 'http://39.97.167.65:9999' //测试 | |||||
// const url = 'http://192.168.31.169:9999' //长龙 | // const url = 'http://192.168.31.169:9999' //长龙 | ||||
// const url = 'http://192.168.31.134:9999' //嘉豪 | |||||
const url = 'http://192.168.31.134:9999' //嘉豪 | |||||
// const url = 'http://192.168.31.100:9999' //王笑 | // const url = 'http://192.168.31.100:9999' //王笑 | ||||
// const url = 'http://nitu5e.natappfree.cc' //王笑 | // const url = 'http://nitu5e.natappfree.cc' //王笑 | ||||