This commit is contained in:
q4speed 2020-04-26 10:33:12 +08:00
parent a572c7fef5
commit 573d42230a
1 changed files with 10 additions and 8 deletions

View File

@ -75,6 +75,7 @@
},
getTest: function (id) {
this.result = this.$get("/api/get/" + id, response => {
if (response.data) {
let item = response.data;
this.test = new Test({
@ -84,6 +85,7 @@
scenarioDefinition: JSON.parse(item.scenarioDefinition),
});
this.$refs.config.reset();
}
});
},
saveTest: function () {