fix: 解决 接口测试-接口自动化-场景-修改场景时描述信息不显示 (#1223)

This commit is contained in:
Coooder-X 2021-01-20 20:32:47 +08:00 committed by GitHub
parent deae6d6053
commit 2aed1743e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -854,6 +854,7 @@
this.result = this.$get("/api/automation/getApiScenario/" + this.currentScenario.id, response => {
if (response.data) {
this.path = "/api/automation/update";
this.currentScenario.description = response.data.description;
if (response.data.scenarioDefinition != null) {
let obj = JSON.parse(response.data.scenarioDefinition);
if (obj) {