fix(接口测试): 修复选中创建断言步骤添加MQTT等三方组件步骤-未添加到选中步骤后面

【【接口测试】场景断言-选中后添加MQTT等组件步骤-未添加到场景断言后面】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001013566
This commit is contained in:
fit2-zhao 2022-05-27 15:53:11 +08:00 committed by 刘瑞斌
parent 6ed15e2f32
commit 86f0527fc8
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ export function setComponent(type, _this, plugin) {
_this.$refs.scenarioRelevance.open();
break;
default:
_this.scenarioDefinition.push(new PluginController({type: plugin.jmeterClazz, stepName: plugin.name, pluginId: plugin.scriptId}));
setNode(_this,new PluginController({type: plugin.jmeterClazz, stepName: plugin.name, pluginId: plugin.scriptId}));
break;
}
if (_this.selectedNode) {