diff --git a/src/views/Statistics/MentoringAbility.vue b/src/views/Statistics/MentoringAbility.vue index 63452db..3efe959 100644 --- a/src/views/Statistics/MentoringAbility.vue +++ b/src/views/Statistics/MentoringAbility.vue @@ -225,6 +225,7 @@
+
@@ -1133,10 +1134,16 @@ export default { }, ], }; - option && myChart.setOption(option); + try{ + option && myChart.setOption(option); window.addEventListener("resize", () => { myChart.resize(); }); + } + catch(err){ + console.log(err,data1); + } + }, handleCurrentChange(e) { this.current = e; diff --git a/vue.config.js b/vue.config.js index db6248b..b514bbc 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,9 +3,9 @@ * https://cli.vuejs.org/zh/config/ */ // 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.134:9999' //嘉豪 +const url = 'http://192.168.31.134:9999' //嘉豪 // const url = 'http://192.168.31.100:9999' //王笑 // const url = 'http://nitu5e.natappfree.cc' //王笑