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