mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-13 15:43:17 +03:30
fix : export url
This commit is contained in:
@@ -256,7 +256,7 @@ export default {
|
|||||||
const result = await ApiService.get(urls.exportItems());
|
const result = await ApiService.get(urls.exportItems());
|
||||||
if (result && result.status == 200) {
|
if (result && result.status == 200) {
|
||||||
console.log(result)
|
console.log(result)
|
||||||
window.open(result.download, '_blank');
|
window.open(result.data.data.url, '_blank');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
removeModal(id) {
|
removeModal(id) {
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ export default {
|
|||||||
async download() {
|
async download() {
|
||||||
const result = await ApiService.get(urls.exportPackages());
|
const result = await ApiService.get(urls.exportPackages());
|
||||||
if (result && result.status == 200) {
|
if (result && result.status == 200) {
|
||||||
window.open(result.download, '_blank');
|
window.open(result.data.data.url, '_blank');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user