fix(测试跟踪): 脑图先设置优先级标签再添加标签,优先级显示不正确

--bug=1014126 --user=陈建星 【测试跟踪】脑图添加用例,先添加优先级标签,再添加用例标签,优先级显示不正确 https://www.tapd.cn/55049933/s/1183617
This commit is contained in:
chenjianxing 2022-06-16 11:51:29 +08:00 committed by f2c-ci-robot[bot]
parent 37148e7c5c
commit 26222011e9
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,7 @@ import {getTestCasesForMinder, getMinderExtraNode, getMinderTreeExtraNodeCount}
import {addIssueHotBox, getSelectedNodeData, handleIssueAdd, handleIssueBatch} from "./minderUtils";
import IssueRelateList from "@/business/components/track/case/components/IssueRelateList";
import TestPlanIssueEdit from "@/business/components/track/case/components/TestPlanIssueEdit";
import {setPriorityView} from "vue-minder-editor-plus/src/script/tool/utils";
const {getIssuesListById} = require("@/network/Issue");
const {getCurrentWorkspaceId} = require("@/common/js/utils");
@ -192,6 +193,11 @@ name: "TestCaseMinder",
});
}
}
if ('resource' === even.commandName) {
//
setTimeout(() => setPriorityView(true, 'P'), 100);
}
});
addIssueHotBox(this);