Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
model_line
Project
Project
Details
Activity
Releases
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
wuhao
model_line
Commits
b663eff2
Commit
b663eff2
authored
Sep 22, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
b2c77970
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.umirc.ts
.umirc.ts
+2
-0
threedire.jsx
src/pages/threedire.jsx
+1
-1
No files found.
.umirc.ts
View file @
b663eff2
export
default
{
npmClient
:
'yarn'
,
hash
:
true
,
history
:
{
type
:
"hash"
,
},
publicPath
:
"./"
,
manifest
:
{
basePath
:
"/"
,
},
...
...
src/pages/threedire.jsx
View file @
b663eff2
...
...
@@ -321,7 +321,7 @@ function Threedire() {
},
[
equpmentNo
]);
const
{
sendMessage
,
lastMessage
,
readyState
}
=
useWebSocket
(
`ws://192.168.40.
111:940
0/ws/device/status`
,
`ws://192.168.40.
50:791
0/ws/device/status`
,
{
onOpen
:
()
=>
{
console
.
log
(
"readyState is "
,
readyState
);
...
...
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