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
023a6b5e
Commit
023a6b5e
authored
Sep 26, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
ad4651aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.jsx
src/pages/index.jsx
+2
-2
threedire.jsx
src/pages/threedire.jsx
+1
-1
No files found.
src/pages/index.jsx
View file @
023a6b5e
...
...
@@ -366,7 +366,7 @@ export default function HomePage() {
axisLabel
:
{
color
:
"#bbbbbb"
,
show
:
true
,
formatter
:
"{value}
件
"
,
formatter
:
"{value}
度
"
,
},
splitLine
:
{
lineStyle
:
{
...
...
@@ -442,7 +442,7 @@ export default function HomePage() {
axisLabel
:
{
color
:
"#bbbbbb"
,
show
:
true
,
formatter
:
"{value}
%
"
,
formatter
:
"{value}
次
"
,
},
splitLine
:
{
lineStyle
:
{
...
...
src/pages/threedire.jsx
View file @
023a6b5e
...
...
@@ -321,7 +321,7 @@ function Threedire() {
},
[
equpmentNo
]);
const
{
sendMessage
,
lastMessage
,
readyState
}
=
useWebSocket
(
`ws://192.168.40.
50:7910/ws/device/status`
,
`ws://192.168.40.
14:17901/ws/device/status`
,
//192.168.40.50:7910
{
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