feat: 优化停止性能测试是否保留报告
This commit is contained in:
parent
492dca961c
commit
c6fb64e754
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue