I would like to send the data by parameters directly and not the array
The console is returning the data like this:
would like it to be sent like this directly:
ID: 3 Descricao: Executando
Code: refresh () { this.$axios.get()
this.$axios.get("/Operacional/GetRelatorio", {
params: {
situacao: this.situacao
}
}).then(res => {
this.prazos = res.data
this.$refs.chart1.updateSeries([{
name: 'NO PRAZO',
data: [this.prazos.noPrazo, this.prazos.emDia, this.prazos.atrasadas]
}])
})
question from:https://stackoverflow.com/questions/65617190/pass-data-through-get-parameters-without-array