ruta de peticion nueva

This commit is contained in:
casnet1
2020-09-21 15:18:00 -05:00
parent 801df5d669
commit 886d9f2bf9
7 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -40,8 +40,10 @@ export default {
},
async created() {
try {
let path = `${config.api}/PDFget/${this.pdfPre}`;
let path = `${config.api}/PDFget/?nombrePDF=${this.pdfPre}`;
this.PDF = path;
console.log(path);
console.log(config.api);
/*let PDF = await axios.get(`${config.api}/PDFget/${this.pdfPre}`, {
responseType: 'blob', //