|
@@ -127,7 +127,8 @@ export default {
|
127
|
127
|
delay: 10,
|
128
|
128
|
autoConnect: true
|
129
|
129
|
})
|
130
|
|
- this.ws.connect('ws://192.168.0.67:8080/ws/screen/113')
|
|
130
|
+ // this.ws.connect(`${window.location.origin.replace('http', 'ws')}/api/ws/${this.$route.query.id}`)
|
|
131
|
+ this.ws.connect(`${window.location.origin.replace('http', 'ws')}/api/ws/${this.$route.query.id}`)
|
131
|
132
|
this.init()
|
132
|
133
|
this.pageTimer = window.setInterval(() => {
|
133
|
134
|
let curMin = new Date().getMinutes() - 0
|
|
@@ -174,7 +175,7 @@ export default {
|
174
|
175
|
return x
|
175
|
176
|
})
|
176
|
177
|
},
|
177
|
|
- receviedMsg (e) {
|
|
178
|
+ receviedMsg (e) {
|
178
|
179
|
const msg = e.data
|
179
|
180
|
if (!msg) {
|
180
|
181
|
return
|
|
@@ -220,7 +221,6 @@ export default {
|
220
|
221
|
|
221
|
222
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
222
|
223
|
<style lang="scss" scoped>
|
223
|
|
-// @import "./font.css";
|
224
|
224
|
.welcomePage {
|
225
|
225
|
$mainfontcolor: #000;
|
226
|
226
|
width: 100%;
|