Заливка
This commit is contained in:
1 parent
2d2951bd9c
commit
93f0d2fc7a
20 files changed
+62
-939
No files matched your search
@@ -56,24 +56,7 @@ export function bgimage(filecheck){
|
||||
export function checkremote(filecheck){
|
||||
|
||||
return process.env.NODE_ENV == 'development'? "https://pixelbox.ru/wp-content/uploads/2021/11/avatar-whatsapp-pixelbox.ru-36.jpg":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 {
|
||||
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +72,7 @@ export function pagecounter(){
|
||||
const router = useRouter()
|
||||
const accountStore = useAccountStore()
|
||||
const appStore = useAppStore()
|
||||
console.log(router.currentRoute.value.meta, '----роутер страницы--');
|
||||
|
||||
let postdata = {
|
||||
user__id: "user" in accountStore &&"id" in accountStore.user? accountStore.user.id: null,
|
||||
page: router.currentRoute.value.meta.title,
|
||||
|
||||
Reference in new issue
Block a user