fix 快捷创建用例
This commit is contained in:
parent
03c39aee90
commit
35aee1f213
|
@ -205,7 +205,7 @@ const router = new VueRouter({
|
||||||
component: TrackHome,
|
component: TrackHome,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'case/create/',
|
path: 'case/create',
|
||||||
name: 'testCaseCreate',
|
name: 'testCaseCreate',
|
||||||
component: TestCase,
|
component: TestCase,
|
||||||
},
|
},
|
||||||
|
|
|
@ -199,10 +199,6 @@
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.testCaseReadOnly = false;
|
this.testCaseReadOnly = false;
|
||||||
if (this.treeNodes.length < 1) {
|
|
||||||
this.$warning(this.$t('test_track.case.create_module_first'));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.$refs.testCaseEditDialog.open();
|
this.$refs.testCaseEditDialog.open();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue