'del_console'
This commit is contained in:
parent
9814c2b6e9
commit
9a4f60a75a
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user