From ba3f94d15f9e5158b7411d0f1688a497664e44f1 Mon Sep 17 00:00:00 2001
From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com>
Date: Mon, 13 Sep 2021 18:59:30 +0800
Subject: [PATCH] change function
---
src/App.svelte | 14 +++++++-------
src/Myinput.svelte | 7 +++++--
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/App.svelte b/src/App.svelte
index 0749902..746aa10 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -1,6 +1,6 @@
@@ -15,7 +15,7 @@
import Myinput from "./Myinput.svelte";
onMount(async () => {
- WSpush("mounted");
+ console.log("mounted");
});
const syntaxHighlight = (json) => {
@@ -45,7 +45,7 @@
page: "",
order: "1",
descr: "Boiler temperature",
- topic: "/prefix/00000-00000/temp1",
+ topic: "/prefix/00000-00001/temp1",
},
{
widget: "input",
@@ -54,7 +54,7 @@
page: "",
order: "1",
descr: "Room temperature",
- topic: "/prefix/00000-00000/temp2",
+ topic: "/prefix/00000-00002/temp2",
},
{
widget: "input",
@@ -63,7 +63,7 @@
page: "",
order: "1",
descr: "Body temperature",
- topic: "/prefix/00000-00000/temp3",
+ topic: "/prefix/00000-00003/temp3",
},
];
@@ -113,7 +113,7 @@