提交 c6fb64e7 编写于 作者: C Captain.B

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

上级 492dca96
......@@ -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');
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册