Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
gassafety
Commits
b8e9aa0a
Commit
b8e9aa0a
authored
Aug 17, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
socket 配置修改 gengdidi
parent
9bed3bc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
index.vue
gassafety-web/src/views/enterprise/mapView/index.vue
+5
-5
No files found.
gassafety-web/src/views/enterprise/mapView/index.vue
View file @
b8e9aa0a
...
...
@@ -584,12 +584,12 @@ export default {
},
socket
()
{
console
.
log
(
"socket执行"
);
// this.ws = new WebSocket(
// "ws://36.148.23.59:8901/gassafety/websocketServer"
// );
this
.
ws
=
new
WebSocket
(
"ws://
192.168.2.23:8903
/gassafety/websocketServer"
"ws://
36.148.23.59:8901
/gassafety/websocketServer"
);
// this.ws = new WebSocket(
// "ws://192.168.2.23:8903/gassafety/websocketServer"
// );
this
.
ws
.
onopen
=
(
evt
)
=>
{
console
.
log
(
"WebSockets=======gogogog"
);
// this.ws.send("WebSockets!=========================");
...
...
@@ -941,7 +941,7 @@ export default {
// 如果为空,就直接把item.list写成[];
item
.
list
=
[];
}
});
},
pageBack
(
item
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment