fix: 修改汇总区块NaN
This commit is contained in:
parent
df889eb647
commit
6e77717946
@ -59,7 +59,7 @@ export const GroupBlock = (props) => {
|
||||
if (service.loading && !field.loaded) {
|
||||
return <Spin />;
|
||||
}
|
||||
const data = service.data?.data[0] ?? {};
|
||||
const data = service.data?.data[0] ? { ...service.data?.data[0] } : {};
|
||||
|
||||
params?.config?.measures?.forEach((measuresItem) => {
|
||||
const value = measuresItem.fieldFormat.fieldValue;
|
||||
|
Loading…
Reference in New Issue
Block a user