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