done refactor

This commit is contained in:
lb
2023-11-09 15:59:30 +08:00
parent 572e9e0d5e
commit e9d003b1fa
8 changed files with 216 additions and 113 deletions

View File

@@ -1,7 +1,7 @@
import GraphBase from "../../Common/GraphBase";
import "./index.module.scss";
// import { ScrollBoard } from '@jiaminghi/data-view-react';
import { ScrollBoard } from "@jiaminghi/data-view-react";
function getRandomRow() {
const idx = Math.ceil(Math.random() * 100);
@@ -84,10 +84,10 @@ function FanInfo(props) {
}}
>
<div className="flex-1" style={{ flex: 1 }}>
{/* <ScrollBoard
<ScrollBoard
config={config}
style={{ width: "280px", height: "100%" }}
/> */}
/>
</div>
<div
className="verticalLine"
@@ -102,10 +102,10 @@ function FanInfo(props) {
}}
></div>
<div className="flex-1" style={{ flex: 1 }}>
{/* <ScrollBoard
config={config}
style={{ width: '280px', height: '100%' }}
/> */}
<ScrollBoard
config={config}
style={{ width: "280px", height: "100%" }}
/>
</div>
</div>
</GraphBase>