Commit a671ffc7 authored by amandazk's avatar amandazk

getCampanha

parent 49719564
......@@ -37,12 +37,12 @@ export default {
};
},
mounted() {
this.getCampanha();
this.getCampanhaId();
},
methods: {
getCampanha() {
getCampanhaId() {
axios.get(`api/campanhas`).then((res) => {
// console.log(res.data);
console.log(this.$route.query.test)
this.campanhas = res.data;
});
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment