This commit is contained in:
gtz
2025-08-25 15:21:36 +08:00
parent 40791bc619
commit ebe2a03023
23 changed files with 78 additions and 75 deletions

View File

@@ -34,7 +34,7 @@ function TitleBox(props: titleProps) {
case "right_up":
return {
img: Num,
title: "各工段投入和产出",
title: "各工段当日投入和产出",
};
default:
return {

View File

@@ -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