feat: 优化停止性能测试是否保留报告

This commit is contained in:
Captain.B 2020-07-27 13:31:33 +08:00
parent 492dca961c
commit c6fb64e754
1 changed files with 1 additions and 2 deletions

View File

@ -185,8 +185,7 @@
stopTest(forceStop) {
this.result = this.$get('/performance/stop/' + this.reportId + '/' + forceStop, () => {
this.$success(this.$t('report.test_stop_success'));
this.$set(this.report, "refresh", Math.random()); //
this.$set(this.report, "status", 'Completed');
this.report.status = 'Completed';
if (forceStop) {
this.$router.push('/performance/report/all');
}