fix(测试跟踪): 脑图先设置优先级标签再添加标签,优先级显示不正确
--bug=1014126 --user=陈建星 【测试跟踪】脑图添加用例,先添加优先级标签,再添加用例标签,优先级显示不正确 https://www.tapd.cn/55049933/s/1183617
This commit is contained in:
parent
37148e7c5c
commit
26222011e9
|
@ -59,6 +59,7 @@ import {getTestCasesForMinder, getMinderExtraNode, getMinderTreeExtraNodeCount}
|
||||||
import {addIssueHotBox, getSelectedNodeData, handleIssueAdd, handleIssueBatch} from "./minderUtils";
|
import {addIssueHotBox, getSelectedNodeData, handleIssueAdd, handleIssueBatch} from "./minderUtils";
|
||||||
import IssueRelateList from "@/business/components/track/case/components/IssueRelateList";
|
import IssueRelateList from "@/business/components/track/case/components/IssueRelateList";
|
||||||
import TestPlanIssueEdit from "@/business/components/track/case/components/TestPlanIssueEdit";
|
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 {getIssuesListById} = require("@/network/Issue");
|
||||||
const {getCurrentWorkspaceId} = require("@/common/js/utils");
|
const {getCurrentWorkspaceId} = require("@/common/js/utils");
|
||||||
|
@ -192,6 +193,11 @@ name: "TestCaseMinder",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ('resource' === even.commandName) {
|
||||||
|
// 设置完标签后,优先级显示有问题,重新设置下
|
||||||
|
setTimeout(() => setPriorityView(true, 'P'), 100);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
addIssueHotBox(this);
|
addIssueHotBox(this);
|
||||||
|
|
Loading…
Reference in New Issue