Commit 023a6b5e authored by wuhao's avatar wuhao 🎯

asder

parent ad4651aa
...@@ -366,7 +366,7 @@ export default function HomePage() { ...@@ -366,7 +366,7 @@ export default function HomePage() {
axisLabel: { axisLabel: {
color: "#bbbbbb", color: "#bbbbbb",
show: true, show: true,
formatter: "{value}", formatter: "{value}",
}, },
splitLine: { splitLine: {
lineStyle: { lineStyle: {
...@@ -442,7 +442,7 @@ export default function HomePage() { ...@@ -442,7 +442,7 @@ export default function HomePage() {
axisLabel: { axisLabel: {
color: "#bbbbbb", color: "#bbbbbb",
show: true, show: true,
formatter: "{value}%", formatter: "{value}",
}, },
splitLine: { splitLine: {
lineStyle: { lineStyle: {
......
...@@ -321,7 +321,7 @@ function Threedire() { ...@@ -321,7 +321,7 @@ function Threedire() {
}, [equpmentNo]); }, [equpmentNo]);
const { sendMessage, lastMessage, readyState } = useWebSocket( 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: () => { onOpen: () => {
console.log("readyState is ", readyState); console.log("readyState is ", readyState);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment