Merge branch 'II'
This commit is contained in:
commit
93baf9d8b0
4 files changed
+23
-17
No files matched your search
@@ -28,17 +28,25 @@ export function getfromserver(path, reactive){
|
||||
|
||||
|
||||
export function checkremote(filecheck){
|
||||
axiosApiInstance.get(filecheck).then(result => {
|
||||
console.log(result, '-------------');
|
||||
}).catch(e=>{
|
||||
return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"
|
||||
})
|
||||
return filecheck
|
||||
// try{
|
||||
// let http = new XMLHttpRequest();
|
||||
// http.open('HEAD', filecheck, false);
|
||||
// http.send();
|
||||
// console.log(http.status)
|
||||
// return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"
|
||||
// }
|
||||
// catch(e){
|
||||
// return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"
|
||||
// }
|
||||
// let tmp = new Image
|
||||
// tmp.src=filecheck
|
||||
// if(tmp.complete){
|
||||
// return filecheck
|
||||
// }
|
||||
// else {return "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg"}
|
||||
// else {
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user