1
This commit is contained in:
@@ -34,7 +34,7 @@ function TitleBox(props: titleProps) {
|
||||
case "right_up":
|
||||
return {
|
||||
img: Num,
|
||||
title: "各工段总投入和产出",
|
||||
title: "各工段当日投入和产出",
|
||||
};
|
||||
default:
|
||||
return {
|
||||
|
||||
@@ -9,8 +9,8 @@ import { useDispatch } from 'react-redux';
|
||||
import { UpdateLine1After } from "../../store/LinePageSlice";
|
||||
function LinePage() {
|
||||
const dispatch = useDispatch();
|
||||
// const myUrl = "192.168.8.22"
|
||||
const myUrl = window.location.host;
|
||||
const myUrl = "192.168.8.22"
|
||||
// const myUrl = window.location.host;
|
||||
useEffect(() => {
|
||||
let websocket1_2 = new WebSocket("ws://" + myUrl + "/websocket/message?userId=1-2-" + Date.now());
|
||||
// @ts-ignore
|
||||
|
||||
Reference in New Issue
Block a user