fix : export url

This commit is contained in:
zeinab.ashrafi
2025-05-01 12:44:11 +03:30
parent 70b6ce503d
commit 5298440b8c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ export default {
const result = await ApiService.get(urls.exportItems());
if (result && result.status == 200) {
console.log(result)
window.open(result.download, '_blank');
window.open(result.data.data.url, '_blank');
}
},
removeModal(id) {
+1 -1
View File
@@ -305,7 +305,7 @@ export default {
async download() {
const result = await ApiService.get(urls.exportPackages());
if (result && result.status == 200) {
window.open(result.download, '_blank');
window.open(result.data.data.url, '_blank');
}
},
},