Merge branch 'dillon/34.8-jenkins-vapor' into vapor/development

This commit is contained in:
Dillon Ngo
2024-10-24 03:19:23 +08:00
4 changed files with 11 additions and 4 deletions
@@ -41,7 +41,9 @@
successHandler(response) {
if(window.LARAVEL_VAPOR_ENABLED){
if (response.src) {
window.location.href = response.src;
// window.location.href = response.src;
console.log('download');
window.open(response.src, '_blank');
}
}
},
@@ -126,7 +126,8 @@ export default {
successHandler(response) {
if(window.LARAVEL_VAPOR_ENABLED){
if (response.src) {
window.location.href = response.src;
// window.location.href = response.src;
window.open(response.src, '_blank');
}
}
},
@@ -138,7 +138,9 @@ export default {
response.json().then(response => {
if(!success){return;}
if (response.src) {
window.location.href = response.src;
// window.location.href = response.src;
console.log('download');
window.open(response.src, '_blank');
}
});
}
@@ -81,7 +81,9 @@
response.json().then(response => {
if(!success){return;}
if (response.src) {
window.location.href = response.src;
// window.location.href = response.src;
console.log('download');
window.open(response.src, '_blank');
}
});
}