Lokalde yaptığım testlerde vue-pdf fetch isteği atarak backenden veri alıyor ama sunucuda istek atmıyor
Versiyonlar:
"vue-pdf": "^4.3.0"
"dependencies": {
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"loader-utils": "^1.4.0",
"pdfjs-dist": "2.6.347",
"raw-loader": "^4.0.2",
"vue-resize-sensor": "^2.0.0",
"worker-loader": "^2.0.0"
}
onDownloadButtonClick() {
let self = this;
this.$store.commit(SET_LOADING, true);
this.currentPDF = this.form;
this.src = pdf.createLoadingTask(this.currentPDF.pdf_link);
this.src.promise.then((pdf) => {
this.numPages = pdf.numPages;
});
setTimeout(() => {
self.$store.commit(SET_LOADING, false);
self.$refs["display-pdf-modal"].show();
}, 2000);
},