puntos de venta y modificaciones
This commit is contained in:
@@ -115,9 +115,8 @@ export default {
|
||||
|
||||
isModalVisible: false,
|
||||
//PDF: "http://www.ataun.eus/bibliotecagratuita/Cl%C3%A1sicos%20en%20Espa%C3%B1ol/Nicol%C3%A1s%20Maquiavelo/El%20pr%C3%ADncipe.pdf#toolbar=0&navpanes=0&scrollbar=0&zoom=80"
|
||||
PDF:
|
||||
"RUTA.pdf" //nombre del archivo de previsualizacion del libro
|
||||
// "https://www.imprentanacional.go.cr/editorialdigital/libros/literatura%20infantil/el_principito_edincr.pdf"
|
||||
PDF: "RUTA.pdf" //nombre del archivo de previsualizacion del libro
|
||||
// "https://www.imprentanacional.go.cr/editorialdigital/libros/literatura%20infantil/el_principito_edincr.pdf"
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
Proceso Editorial y Organismos
|
||||
</button>
|
||||
</router-link>
|
||||
<router-link to="/">
|
||||
<router-link to="/puntos">
|
||||
<button
|
||||
type="button"
|
||||
class="col-md-6 col-sm-12 btn boton-footer cuatro"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
import config from "../config/config.js";
|
||||
|
||||
export default {
|
||||
props: ["pdfPre"], //RUTA.pdf
|
||||
props: ["pdfPre"], //RUTA.pdf
|
||||
name: "modal",
|
||||
methods: {
|
||||
close() {
|
||||
@@ -35,13 +35,13 @@ export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
PDF:''
|
||||
}
|
||||
PDF: ""
|
||||
};
|
||||
},
|
||||
async created() {
|
||||
try {
|
||||
let path = `${config.api}/PDFget/${this.pdfPre}`;
|
||||
this.PDF = path
|
||||
this.PDF = path;
|
||||
/*let PDF = await axios.get(`${config.api}/PDFget/${this.pdfPre}`, {
|
||||
|
||||
responseType: 'blob', //
|
||||
@@ -55,7 +55,6 @@ export default {
|
||||
}).catch(e => {
|
||||
console.log(e);
|
||||
})*/
|
||||
|
||||
} catch (error) {
|
||||
console.log(`Ocurrio un error msj: ${error}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user