import GraphBase from '../../../公共组件/GraphBase'; import ReactECharts from 'echarts-for-react'; import getOptions from '../../../../hooks/getChartOption'; // function rand(max) { // return Math.ceil(Math.random() * max); // } // function getArr(len) { // return Array(len).fill(1).map(() => rand(100)) // } // function getArrs(len) { // return Array(len).fill(1).map(() => getArr(7)) // } // function fan4(...arrs) { // const total = arrs[0].map((_, i) => // arrs.reduce((sum, arr) => sum + arr[i], 0), // ); // arrs.unshift(total); // return arrs; // } // function main() { // // console.log(JSON.stringify(fan(getArrs(3)))) // console.log(fan(getArrs(3))) // } function Oxygen(props) { function handleSwitch(v) { console.log('switched ', v); } function handleDateChange(v) { console.log('date ', v); } return ( {/* real echarts here */} {/* real table data here */} ); } export default Oxygen;