From 8b4322996e5ef0b28cb39a3171d085b77bbd0619 Mon Sep 17 00:00:00 2001 From: lb Date: Mon, 29 Apr 2024 13:28:08 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- src/pages/Home/index.jsx | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index e141282..112ef1a 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,8 @@ "start": "node scripts/start.js", "build": "node scripts/build.js", "server": "node websocket/server.js", - "test": "node scripts/test.js" + "test": "node scripts/test.js", + "ws": "node websocket/server.js" }, "eslintConfig": { "extends": [ diff --git a/src/pages/Home/index.jsx b/src/pages/Home/index.jsx index b95cfa0..47de141 100644 --- a/src/pages/Home/index.jsx +++ b/src/pages/Home/index.jsx @@ -1,13 +1,13 @@ -import LeftBar from "../../components/Modules/Home/LeftSide"; -import BottomBar from "../../components/Modules/Home/Bottom"; -import RightBar from "../../components/Modules/Home/RightSide"; -import CenterTopData from "../../components/Modules/Home/CenterTop"; -import { AnimatePresence, motion } from "framer-motion"; -import KilnCenter from "../../components/Modules/KilnInner/Center"; -import KilnInnerLeft from "../../components/Modules/KilnInner/LeftSide"; -import KilnInnerRight from "../../components/Modules/KilnInner/RightSide"; -import FireCheckLeft from "../../components/Modules/FireCheck/LeftSide"; -import QualityCheckLeft from "../../components/Modules/QualityCheck/LeftSide"; +import LeftBar from "../../components/Modules/Home/LeftSide"; // 窑炉总览 - 左边 +import BottomBar from "../../components/Modules/Home/Bottom"; // 窑炉总览 - 底部4个框 +import RightBar from "../../components/Modules/Home/RightSide"; // 窑炉总览 - 右部 +import CenterTopData from "../../components/Modules/Home/CenterTop"; // 泡界线监控(左上) + 当前生产线规格(右上角) +import { AnimatePresence, motion } from "framer-motion"; // 动画 +import KilnCenter from "../../components/Modules/KilnInner/Center"; // 窑炉内部 +import KilnInnerLeft from "../../components/Modules/KilnInner/LeftSide"; // 窑炉内部左侧内容 +import KilnInnerRight from "../../components/Modules/KilnInner/RightSide"; // 窑炉内部右侧内容 +import FireCheckLeft from "../../components/Modules/FireCheck/LeftSide"; // 退火监测 - 左边 +import QualityCheckLeft from "../../components/Modules/QualityCheck/LeftSide"; // 质检统计 - 左边 import FireCheckRight from "../../components/Modules/FireCheck/RightSide"; import QualityCheckRight from "../../components/Modules/QualityCheck/RightSide"; import { useSelector } from "react-redux";