Browse Source

init

newStyle
lancer 3 years ago
parent
commit
640bad91d6
2 changed files with 10 additions and 3 deletions
  1. +8
    -1
      src/views/Statistics/MentoringAbility.vue
  2. +2
    -2
      vue.config.js

+ 8
- 1
src/views/Statistics/MentoringAbility.vue View File

@@ -225,6 +225,7 @@
</div>
<div style="height: 350px; width: 94%; margin: 0 auto">
<div id="data6" style="height: 350px"></div>
</div>
</div>
</div>
@@ -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;


+ 2
- 2
vue.config.js View File

@@ -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' //王笑



Loading…
Cancel
Save