ff
This commit is contained in:
1 parent
667f142627
commit
b87247e326
25 files changed
+41
-36
No files matched your search
@@ -28,12 +28,17 @@ export function getfromserver(path, reactive){
|
||||
|
||||
|
||||
export function checkremote(filecheck){
|
||||
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"}
|
||||
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"
|
||||
})
|
||||
// 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"}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user