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

编辑测试修改

上级 d4f69fa4
......@@ -77,6 +77,11 @@
watch: {
'$route'(to) {
window.console.log(to);
// 如果是创建测试
if (to.name === 'createTest') {
window.location.reload();
return;
}
let testId = to.path.split('/')[2]; // find testId
this.$get('/testplan/get/' + testId, response => {
this.testPlan = response.data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册