'del_console'

This commit is contained in:
gtz 2023-12-04 17:50:49 +08:00
parent 9814c2b6e9
commit 9a4f60a75a

View File

@ -37,15 +37,10 @@ function FanInfo(props) {
// let data = getRandomRows(100);
const fanInfo = useSelector((state) => state.fanInfo.fanInfo);
console.log(fanInfo)
console.log('-------------------------------')
const data = Object.keys(fanInfo).map((key, index) => {
return [index+1, key, fanInfo[key] == "运行" ? 1 : fanInfo[key] == "故障" ? 0 : 2];
});
console.log(data)
let config = {
headerBGC: "rgba(4, 44, 76, 0.3)",
header: [