Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
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
王浩
zh-baseversion-project
Commits
1be08101
Commit
1be08101
authored
Jul 31, 2024
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
websocket 地址修改
parent
b3bd2777
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
rightBar.vue
zh-baseversion-web/src/components/bigWindow/rightBar.vue
+1
-1
rightBar.vue
zh-baseversion-web/src/components/bigWindowOld/rightBar.vue
+3
-3
No files found.
zh-baseversion-web/src/components/bigWindow/rightBar.vue
View file @
1be08101
...
...
@@ -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开启"
);
...
...
zh-baseversion-web/src/components/bigWindowOld/rightBar.vue
View file @
1be08101
...
...
@@ -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开启"
);
...
...
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