change-物联实时曲线页面<style>改为<style scoped>,防止出现bug异常显示

boardTest
zangch 1 year ago
parent 921f766f70
commit 544cddf4f2

@ -451,7 +451,7 @@ export default {
} }
] ]
} }
this.$refs.Chart1.setData(option1) this.$refs.Chart1.setData(option1)
// option1 && Chart1.setOption(option1); // option1 && Chart1.setOption(option1);
// this.$refs.Chart2.setData(option2) // this.$refs.Chart2.setData(option2)
@ -471,7 +471,7 @@ export default {
} }
} }
</script> </script>
<style> <style scoped>
.chart1 { .chart1 {
width: 100%; width: 100%;
height: 75vh; height: 75vh;

Loading…
Cancel
Save