update
This commit is contained in:
@@ -41,23 +41,9 @@ import { useSelector, useDispatch } from "react-redux";
|
||||
/** 助燃风流量 */
|
||||
function GasI(props) {
|
||||
const [showChart, setShowChart] = useState(true);
|
||||
// const dispath = useDispatch();
|
||||
const runState = useSelector((state) => state.combustionAir.runtime);
|
||||
const hisState = useSelector((state) => state.combustionAir.history);
|
||||
|
||||
// useEffect(() => {
|
||||
// setInterval(() => {
|
||||
// dispath({
|
||||
// type: "combustionAir/setRuntime",
|
||||
// payload: mockData("runtime"),
|
||||
// });
|
||||
// dispath({
|
||||
// type: "combustionAir/setHistory",
|
||||
// payload: mockData("history"),
|
||||
// });
|
||||
// }, 60000);
|
||||
// }, [dispath]);
|
||||
|
||||
let dataList = [];
|
||||
let seriesData = [];
|
||||
const colors = [
|
||||
|
||||
Reference in New Issue
Block a user