fix(测试跟踪): 脑图展开优先级格式显示不正确

--bug=1013894 --user=陈建星 【测试跟踪】切换脑图模式后全部展开 节点,用例没有优先级只显示的数字 https://www.tapd.cn/55049933/s/1177367
This commit is contained in:
chenjianxing 2022-06-09 14:12:18 +08:00 committed by f2c-ci-robot[bot]
parent f408ced5f8
commit 3a247a3a88
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import {getCurrentProjectID} from "../../../../../common/js/utils";
import {success, warning} from "../../../../../common/js/message";
import {deleteIssueRelate} from "@/network/Issue";
import {minderPageInfoMap} from "@/network/testCase";
import {setPriorityView} from "vue-minder-editor-plus/src/script/tool/utils";
export function listenNodeSelected(callback) {
let minder = window.minder;
@ -415,6 +416,8 @@ function expandNode(node) {
node.expand();
node.renderTree();
window.minder.layout(60);
// 手动修改优先级的设置,避免展开时优先级显示不正确
setPriorityView(true, 'P');
}