fix(场景自动化): 修复场景步骤最大化后推荐断言 问题

This commit is contained in:
fit2-zhao 2021-05-11 18:35:27 +08:00 committed by fit2-zhao
parent b596082f6d
commit e399e575f9
1 changed files with 3 additions and 1 deletions

View File

@ -487,8 +487,10 @@
},
suggestClick(node) {
this.response = {};
if (node.parent && node.parent.data.requestResult) {
if (node && node.parent && node.parent.data.requestResult) {
this.response = node.parent.data.requestResult;
} else if (this.selectedNode) {
this.response = this.selectedNode.data.requestResult;
}
},
showAll() {