mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 15:02:21 +03:00
исправляем баг баннера
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
let opened = false;
|
||||
let preventMove = false;
|
||||
const blobDebug = false;
|
||||
const devMode = false;
|
||||
const devMode = true;
|
||||
|
||||
//****************************************************variable section**********************************************************/
|
||||
//******************************************************************************************************************************/
|
||||
|
||||
@@ -8,19 +8,25 @@
|
||||
import Anydata from "../widgets/Anydata.svelte";
|
||||
import Alarm from "../components/Alarm.svelte";
|
||||
|
||||
onMount(async () => {
|
||||
setTimeout(timeIsOut, 1000);
|
||||
});
|
||||
onMount(async () => {});
|
||||
|
||||
export let layoutJson;
|
||||
|
||||
$: layoutJson.length, timeOut();
|
||||
|
||||
let empty = false;
|
||||
|
||||
function timeOut() {
|
||||
empty = false;
|
||||
setTimeout(timeIsOut, 1000);
|
||||
}
|
||||
|
||||
export let pages;
|
||||
|
||||
export let show;
|
||||
|
||||
export let wsPush = (ws, topic, status) => {};
|
||||
|
||||
let empty = false;
|
||||
|
||||
function timeIsOut() {
|
||||
if (layoutJson.length === 0) {
|
||||
empty = true;
|
||||
|
||||
Reference in New Issue
Block a user