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

fix: 修复强制停止时刷新页面的bug

上级 c6fb64e7
......@@ -185,9 +185,10 @@
stopTest(forceStop) {
this.result = this.$get('/performance/stop/' + this.reportId + '/' + forceStop, () => {
this.$success(this.$t('report.test_stop_success'));
this.report.status = 'Completed';
if (forceStop) {
this.$router.push('/performance/report/all');
} else {
this.report.status = 'Completed';
}
})
this.dialogFormVisible = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册