fix: 解决 接口测试-接口自动化-场景-修改场景时描述信息不显示 (#1223)
This commit is contained in:
parent
deae6d6053
commit
2aed1743e4
|
@ -854,6 +854,7 @@
|
||||||
this.result = this.$get("/api/automation/getApiScenario/" + this.currentScenario.id, response => {
|
this.result = this.$get("/api/automation/getApiScenario/" + this.currentScenario.id, response => {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
this.path = "/api/automation/update";
|
this.path = "/api/automation/update";
|
||||||
|
this.currentScenario.description = response.data.description;
|
||||||
if (response.data.scenarioDefinition != null) {
|
if (response.data.scenarioDefinition != null) {
|
||||||
let obj = JSON.parse(response.data.scenarioDefinition);
|
let obj = JSON.parse(response.data.scenarioDefinition);
|
||||||
if (obj) {
|
if (obj) {
|
||||||
|
|
Loading…
Reference in New Issue