Lint + ES6
This commit is contained in:
@@ -47,7 +47,7 @@ export default {
|
||||
methods: {
|
||||
getSourcePrefix,
|
||||
},
|
||||
updated: function () {
|
||||
updated() {
|
||||
this.$nextTick(function () {
|
||||
if (this.$refs.log) {
|
||||
this.$refs.log.scrollBy(0, this.$refs.log.scrollHeight + 100)
|
||||
|
||||
@@ -73,7 +73,7 @@ import Paho from "paho-mqtt"
|
||||
import { wsValid } from "~/helpers/utils/valid"
|
||||
|
||||
export default {
|
||||
data: function () {
|
||||
data() {
|
||||
return {
|
||||
url: "wss://test.mosquitto.org:8081",
|
||||
client: null,
|
||||
|
||||
Reference in New Issue
Block a user