This commit is contained in:
Liyas Thomas
2020-06-19 12:26:04 +05:30
parent fcbc738088
commit 1587a44cd7
33 changed files with 63 additions and 77 deletions

View File

@@ -47,8 +47,8 @@ export default {
methods: {
getSourcePrefix,
},
updated: function() {
this.$nextTick(function() {
updated: function () {
this.$nextTick(function () {
if (this.$refs.log) {
this.$refs.log.scrollBy(0, this.$refs.log.scrollHeight + 100)
}

View File

@@ -77,7 +77,7 @@ export default {
"pw-section": () => import("../../components/layout/section"),
realtimeLog: () => import("./log"),
},
data: function() {
data: function () {
return {
url: "wss://test.mosquitto.org:8081",
client: null,