Commit 286a9e06 by zhaochengxiang

bug fix

parent 4ae3d89e
......@@ -141,7 +141,9 @@ const ModelTree = (props) => {
let total = 0
const item = data[key]
for (const id in item) {
total = total + item[id]??0
if (id === '4') {
total = total + item[id]??0
}
}
newData[key] = total
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment