fix(测试跟踪): 测试计划脑图修改标签,优先级显示错误
--bug=1014220 --user=陈建星 【测试跟踪】测试计划脑图中,修改执行结果,优先级会先显示的数字 https://www.tapd.cn/55049933/s/1185558
This commit is contained in:
parent
7b3c6faa42
commit
9051dbcca7
|
@ -34,6 +34,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {setPriorityView} from "vue-minder-editor-plus/src/script/tool/utils";
|
||||
|
||||
const {getCurrentWorkspaceId} = require("@/common/js/utils");
|
||||
const {getIssuesListById} = require("@/network/Issue");
|
||||
import MsModuleMinder from "@/business/components/common/components/MsModuleMinder";
|
||||
|
@ -122,6 +124,8 @@ name: "TestPlanMinder",
|
|||
if (handleMinderIssueDelete(even.commandName, true)) return; // 删除缺陷不算有编辑脑图信息
|
||||
|
||||
if (even.commandName.toLocaleLowerCase() === 'resource') {
|
||||
// 设置完标签后,优先级显示有问题,重新设置下
|
||||
setTimeout(() => setPriorityView(true, 'P'), 100);
|
||||
this.setIsChange(true);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -24,6 +24,7 @@ import {
|
|||
tagBatch
|
||||
} from "@/business/components/track/common/minder/minderUtils";
|
||||
import {getReviewCasesForMinder} from "@/network/testCase";
|
||||
import {setPriorityView} from "vue-minder-editor-plus/src/script/tool/utils";
|
||||
export default {
|
||||
name: "TestReviewMinder",
|
||||
components: {MsModuleMinder},
|
||||
|
@ -87,6 +88,8 @@ name: "TestReviewMinder",
|
|||
}
|
||||
|
||||
if (even.commandName.toLocaleLowerCase() === 'resource') {
|
||||
// 设置完标签后,优先级显示有问题,重新设置下
|
||||
setTimeout(() => setPriorityView(true, 'P'), 100);
|
||||
this.setIsChange(true);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue