Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
30abcaa2
authored
2025-01-21 17:35:02 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改消息websocketUrl
1 parent
2fe1addd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/layouts/index.vue
src/layouts/index.vue
View file @
30abcaa
...
...
@@ -256,8 +256,8 @@ const messageAllRead = () => {
}
const
createServerConnect
=
()
=>
{
const
websocketUrl
=
'
http://192.168.6.20:29203/
'
;
//测试环境的
const
ws
=
new
WebSocket
(
`ws
s
://
${
websocketUrl
}
/websocket/
${
userData
.
staffGuid
}
`
);
const
websocketUrl
=
'
192.168.6.20:29203
'
;
//测试环境的
const
ws
=
new
WebSocket
(
`ws://
${
websocketUrl
}
/websocket/
${
userData
.
staffGuid
}
`
);
ws
.
onopen
=
function
()
{
console
.
log
(
'Connected to server.'
);
};
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment