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: {
|
||||
FileTable: _components_FileTable_vue__WEBPACK_IMPORTED_MODULE_0__["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() {
|
||||
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: {
|
||||
async loadZipContent() {
|
||||
|
File diff suppressed because one or more lines are too long
@ -26,15 +26,6 @@ export default {
|
||||
components: {
|
||||
FileTable,
|
||||
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>
|
||||
|
@ -79,6 +79,13 @@ export default {
|
||||
},
|
||||
async mounted() {
|
||||
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: {
|
||||
async loadZipContent() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user