fix: 修复创建性能测试查询文件的提示,计算图表不去单个计算

This commit is contained in:
Captain.B 2021-03-24 09:55:08 +08:00
parent 3cc4c181b8
commit d2fabf8e93
2 changed files with 3 additions and 5 deletions

View File

@ -345,13 +345,11 @@ export default {
this.$refs.basicConfig.threadGroups = threadGroups;
this.$refs.pressureConfig.threadGroups = threadGroups;
threadGroups.forEach(tg => {
handler.calculateChart(tg);
})
handler.calculateTotalChart();
},
tgTypeChange(threadGroup) {
let handler = this.$refs.pressureConfig;
handler.calculateChart(threadGroup);
handler.calculateTotalChart();
}
}
}

View File

@ -232,7 +232,7 @@ export default {
callback();
} else {
this.$error(this.$t('load_test.project_file_exist'));
this.$error(this.$t('load_test.project_file_exist') + ', name: ' + file.name);
}
});
},