fix null
This commit is contained in:
parent
a572c7fef5
commit
573d42230a
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue