fix(性能测试): 修复删除报告之后再查看其他报告报 jmx undefined 错误

This commit is contained in:
Captain.B 2021-08-31 14:03:20 +08:00 committed by 刘瑞斌
parent ce2ce216dc
commit 8d66e1dbb3
1 changed files with 3 additions and 0 deletions

View File

@ -347,6 +347,9 @@ export default {
} }
}, },
handleGetJmxContent(d) { handleGetJmxContent(d) {
if (!d) {
return;
}
let threadGroups = []; let threadGroups = [];
threadGroups = threadGroups.concat(findThreadGroup(d.jmx, d.name)); threadGroups = threadGroups.concat(findThreadGroup(d.jmx, d.name));
threadGroups.forEach(tg => { threadGroups.forEach(tg => {