This commit is contained in:
lb
2023-12-14 11:24:03 +08:00
parent 68065b612a
commit e4a2af8458
24 changed files with 130 additions and 119 deletions

View File

@@ -13,10 +13,7 @@ function GasChart(props) {
.sort()
.map((key, index) => hisState?.[dataName][key])
: Array(dataSource == "gas-i" ? 8 : 4).fill(Array(7).fill(0));
// // debug
// console.log('天然气 series data', dataName, hisState?.[dataName], seriesData);
return (
<div className={cls.gasChart}>
<ReactECharts

View File

@@ -20,7 +20,6 @@ function GasII(props) {
}
function handleSourceChange(e) {
console.log("val", e.target.value);
if (e.target.value == "ii") {
// 天然气II
setDataSource("gas-ii");