fix(测试跟踪): 测试计划脑图修改标签,优先级显示错误

--bug=1014220 --user=陈建星 【测试跟踪】测试计划脑图中,修改执行结果,优先级会先显示的数字 https://www.tapd.cn/55049933/s/1185558
This commit is contained in:
chenjianxing 2022-06-17 16:45:24 +08:00 committed by jianxing
parent 7b3c6faa42
commit 9051dbcca7
2 changed files with 7 additions and 0 deletions

View File

@ -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);
}
});

View File

@ -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);
}
});