<template>
<div id="app">
{{ totalOZON}} //
<div id="chart">
<apexchart width="500" type="bar" :options="chartOptions" :series="series"></apexchart> -->
</div>
</div>
</template>
<script>
import axios from "axios";
export default {
data() {
return{
totalOZON:[],
series: [{
name:'',
data: this.totalOZON
}],
chartOptions: {},
}
},
computed:{
computedTotalOzon: function () {
return this.totalOZON
},
},
mounted () {
axios
.get('
http://192.168.1.100:3001/totalOZON')
.then(response => {
this.totalOZON =
response.data console.log( this.$store.state.total.Hermes)
});
},
}
</script>