mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 23:12:34 +03:00
запуск компилятора
This commit is contained in:
@@ -48,8 +48,9 @@
|
||||
const rebootingTimeout = 30000;
|
||||
const updatingTimeout = 130000;
|
||||
let rebootTimer;
|
||||
let opened = false;
|
||||
let opened = true;
|
||||
let preventMove = false;
|
||||
let screenSize;
|
||||
const blobDebug = false;
|
||||
const devMode = true;
|
||||
|
||||
@@ -182,6 +183,9 @@
|
||||
onMount(async () => {
|
||||
console.log("[i]", "mounted");
|
||||
await getUser();
|
||||
onCheck();
|
||||
|
||||
opened = screenSize > 900 ? true : false;
|
||||
selectedDeviceDataRefresh();
|
||||
//флаг первого запроса списка устройств
|
||||
firstDevListRequest = true;
|
||||
@@ -1125,14 +1129,10 @@
|
||||
|
||||
//**********************************************************modal*************************************************************************/
|
||||
function onCheck() {
|
||||
let width = screen.width;
|
||||
//console.log("width", width);
|
||||
if (width < 900) {
|
||||
if (screenSize < 900) {
|
||||
preventMove = true;
|
||||
//opened = false;
|
||||
} else {
|
||||
preventMove = false;
|
||||
//opened = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1244,6 +1244,8 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<svelte:window bind:innerWidth={screenSize} />
|
||||
|
||||
<div class="flex flex-col h-screen bg-gray-50">
|
||||
{#if showAwaitingCircle}
|
||||
<Progress />
|
||||
|
||||
Reference in New Issue
Block a user