'del_console'
This commit is contained in:
		@@ -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: [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user