fix 快捷创建用例

This commit is contained in:
chenjianxing 2020-06-02 16:16:37 +08:00
parent 03c39aee90
commit 35aee1f213
2 changed files with 1 additions and 5 deletions

View File

@ -205,7 +205,7 @@ const router = new VueRouter({
component: TrackHome,
},
{
path: 'case/create/',
path: 'case/create',
name: 'testCaseCreate',
component: TestCase,
},

View File

@ -199,10 +199,6 @@
});
} else {
this.testCaseReadOnly = false;
if (this.treeNodes.length < 1) {
this.$warning(this.$t('test_track.case.create_module_first'));
return;
}
this.$refs.testCaseEditDialog.open();
}
},