correction vue
This commit is contained in:
parent
ded54af4f6
commit
2a2c31b55f
16
js/main.js
16
js/main.js
@ -884,15 +884,6 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
components: {
|
components: {
|
||||||
FileTable: _components_FileTable_vue__WEBPACK_IMPORTED_MODULE_0__["default"],
|
FileTable: _components_FileTable_vue__WEBPACK_IMPORTED_MODULE_0__["default"],
|
||||||
WebContentViewer: _components_WebContentViewer_vue__WEBPACK_IMPORTED_MODULE_1__["default"]
|
WebContentViewer: _components_WebContentViewer_vue__WEBPACK_IMPORTED_MODULE_1__["default"]
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
const webTransferDiv = document.getElementById('archiveInfos');
|
|
||||||
if (webTransferDiv) {
|
|
||||||
this.archiveUrl = webTransferDiv.dataset.archiveUrl;
|
|
||||||
this.token = webTransferDiv.dataset.token;
|
|
||||||
} else {
|
|
||||||
console.error('Pas d\'informations pour recuperer l\'archive');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1064,6 +1055,13 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
await this.loadZipContent();
|
await this.loadZipContent();
|
||||||
|
const webTransferDiv = document.getElementById('archiveInfos');
|
||||||
|
if (webTransferDiv) {
|
||||||
|
this.archiveUrl = webTransferDiv.dataset.archiveUrl;
|
||||||
|
this.token = webTransferDiv.dataset.token;
|
||||||
|
} else {
|
||||||
|
console.error('Pas d\'informations pour recuperer l\'archive');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async loadZipContent() {
|
async loadZipContent() {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -26,15 +26,6 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
FileTable,
|
FileTable,
|
||||||
WebContentViewer
|
WebContentViewer
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
const webTransferDiv = document.getElementById('archiveInfos');
|
|
||||||
if (webTransferDiv) {
|
|
||||||
this.archiveUrl = webTransferDiv.dataset.archiveUrl;
|
|
||||||
this.token = webTransferDiv.dataset.token;
|
|
||||||
} else {
|
|
||||||
console.error('Pas d\'informations pour recuperer l\'archive');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -79,6 +79,13 @@ export default {
|
|||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
await this.loadZipContent();
|
await this.loadZipContent();
|
||||||
|
const webTransferDiv = document.getElementById('archiveInfos');
|
||||||
|
if (webTransferDiv) {
|
||||||
|
this.archiveUrl = webTransferDiv.dataset.archiveUrl;
|
||||||
|
this.token = webTransferDiv.dataset.token;
|
||||||
|
} else {
|
||||||
|
console.error('Pas d\'informations pour recuperer l\'archive');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async loadZipContent() {
|
async loadZipContent() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user