From 640bad91d6aff36a4d64ecc1c2b580008bbeb415 Mon Sep 17 00:00:00 2001 From: lancer <1905818361@qq.com> Date: Tue, 28 Dec 2021 10:41:11 +0800 Subject: [PATCH] init --- src/views/Statistics/MentoringAbility.vue | 9 ++++++++- vue.config.js | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) 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' //王笑