fix(测试跟踪): 用例列表点击模块,url没有加上模块ID

This commit is contained in:
chenjianxing 2023-03-01 14:54:19 +08:00 committed by jianxing
parent 1f7b1344c0
commit 2682a35e4c
2 changed files with 6 additions and 0 deletions

View File

@ -549,6 +549,10 @@ export default {
watch: {
'$route'(to) {
if (to.path.indexOf("/track/case/all") >= 0) {
if (to.query.moduleId) {
//
return;
}
this.getTemplateField();
let ids = this.$route.params.ids;
if (ids) {

View File

@ -323,6 +323,8 @@ export default {
this.currentModule = node.data;
this.currentNode = node;
this.$emit("nodeSelectEvent", node, node.data.id === 'root' ? [] : nodeIds, pNodes);
//
this.nohupReloadTree(node.data.id);
},