fix(接口测试): 统一接口测试转性能测试时storage带的参数
统一接口测试转性能测试时storage带的参数
This commit is contained in:
parent
95ccae7283
commit
7774c79f62
|
@ -830,7 +830,7 @@ export default {
|
|||
}
|
||||
},
|
||||
search(projectId) {
|
||||
this.$EventBus.$emit("scenarioConditionBus", this.condition)
|
||||
this.$EventBus.$emit('scenarioConditionBus', this.condition);
|
||||
if (this.needRefreshModule()) {
|
||||
this.$emit('refreshTree');
|
||||
}
|
||||
|
@ -1533,6 +1533,7 @@ export default {
|
|||
jmxObjList.push(jmxObj);
|
||||
});
|
||||
performanceStore.$patch({
|
||||
test: null,
|
||||
scenarioJmxs: {
|
||||
name: 'Scenarios',
|
||||
jmxs: jmxObjList,
|
||||
|
|
|
@ -81,7 +81,7 @@ export default {
|
|||
jmxObj.caseId = null;
|
||||
jmxObj.version = row.version;
|
||||
jmxObj.projectEnvMap = projectEnvMap;
|
||||
performanceStore.$patch({ test: { name: row.name, jmx: jmxObj } });
|
||||
performanceStore.$patch({ test: { name: row.name, jmx: jmxObj }, scenarioJmxs: null });
|
||||
this.$router.push({
|
||||
path: '/performance/test/create',
|
||||
});
|
||||
|
|
|
@ -1437,7 +1437,7 @@ export default {
|
|||
jmxObj.version = row.version;
|
||||
jmxObj.envId = environment.id;
|
||||
jmxObj.projectEnvMap = projectEnvMap;
|
||||
performanceStore.$patch({ test: { name: row.name, jmx: jmxObj } });
|
||||
performanceStore.$patch({ test: { name: row.name, jmx: jmxObj }, scenarioJmxs: null });
|
||||
this.$router.push({
|
||||
path: '/performance/test/create',
|
||||
});
|
||||
|
|
|
@ -138,7 +138,7 @@ export default {
|
|||
jmxObj.version = row.version;
|
||||
jmxObj.envId = this.environment;
|
||||
jmxObj.projectEnvMap = projectEnvMap;
|
||||
performanceStore.$patch({ test: { name: row.name, jmx: jmxObj } });
|
||||
performanceStore.$patch({ test: { name: row.name, jmx: jmxObj }, scenarioJmxs: null });
|
||||
this.$router.push({
|
||||
path: '/performance/test/create',
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue