这个提交包含在:
lb
2023-12-28 16:59:43 +08:00
父节点 049a0804ac
当前提交 2722ca6122
共有 11 个文件被更改,包括 43 次插入37 次删除

查看文件

@@ -15,8 +15,6 @@ const GoodRateChart = (props) => {
const [dateType, setDateType] = useState("day");
const cutting = useSelector((state) => state.cutting);
console.log("cutting chart", dateType, cutting.chart[dateType]);
useEffect(() => {
setUpdateKey(Date.now());
}, [showMore]);
@@ -80,7 +78,6 @@ const GoodRateChart = (props) => {
export default GoodRateChart;
function getOptions(dataList, showMore, dateType) {
console.log("showmore", showMore);
const list = [...dataList].sort((a, b) => a.dataTime - b.dataTime);
// data: Array(7)
// .fill(1)