ruta de peticion nueva
This commit is contained in:
@@ -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', //
|
||||
|
||||
Reference in New Issue
Block a user