fix: update condition logic for trace tree data (#186)

This commit is contained in:
Fine0830
2022-11-19 16:53:15 +08:00
committed by GitHub
parent 670bef1d69
commit dc842609ba

View File

@@ -144,7 +144,7 @@ export default class TraceUtil {
spanId: parentSpanId,
parentSpanId: parentSpanId > -1 ? 0 : -1,
};
if (lodash.find(fixSpans, fixSpanKeyContent)) {
if (!lodash.find(fixSpans, fixSpanKeyContent)) {
fixSpans.push({
...fixSpanKeyContent,
refs: [],