fix: 修复创建性能测试查询文件的提示,计算图表不去单个计算
This commit is contained in:
parent
3cc4c181b8
commit
d2fabf8e93
|
@ -345,13 +345,11 @@ export default {
|
||||||
this.$refs.basicConfig.threadGroups = threadGroups;
|
this.$refs.basicConfig.threadGroups = threadGroups;
|
||||||
this.$refs.pressureConfig.threadGroups = threadGroups;
|
this.$refs.pressureConfig.threadGroups = threadGroups;
|
||||||
|
|
||||||
threadGroups.forEach(tg => {
|
handler.calculateTotalChart();
|
||||||
handler.calculateChart(tg);
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
tgTypeChange(threadGroup) {
|
tgTypeChange(threadGroup) {
|
||||||
let handler = this.$refs.pressureConfig;
|
let handler = this.$refs.pressureConfig;
|
||||||
handler.calculateChart(threadGroup);
|
handler.calculateTotalChart();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -232,7 +232,7 @@ export default {
|
||||||
|
|
||||||
callback();
|
callback();
|
||||||
} else {
|
} else {
|
||||||
this.$error(this.$t('load_test.project_file_exist'));
|
this.$error(this.$t('load_test.project_file_exist') + ', name: ' + file.name);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue