Commit 1be08101 authored by 耿迪迪's avatar 耿迪迪

websocket 地址修改

parent b3bd2777
......@@ -482,7 +482,7 @@ export default {
init() {
console.log("socket执行");
this.ws = new WebSocket(
"ws://36.138.180.129:8901/gassafety/websocketServer"
"ws://"+ window.location.host + process.env.VUE_APP_BASE_API+ "/websocketServer"
);
this.ws.onopen = (evt) => {
console.log("WebSockets开启");
......
......@@ -475,7 +475,7 @@ export default {
init() {
console.log("socket执行");
this.ws = new WebSocket(
"ws://36.138.180.129:8901/gassafety/websocketServer"
"ws://"+ window.location.host + process.env.VUE_APP_BASE_API+ "/websocketServer"
);
this.ws.onopen = (evt) => {
console.log("WebSockets开启");
......@@ -1435,7 +1435,7 @@ titletu2 {
color: white;
}
.right-bottom-data-left {
.el-table {
.el-table__header-wrapper,
......@@ -1451,7 +1451,7 @@ titletu2 {
border-bottom: none;
}
}
}
}
}
}
</style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment