update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user