fix: 脑图删除用例步骤提示取消关联缺陷

--bug=1008872 --user=陈建星 【测试跟踪】脑图模式,删除测试用例步骤,提示”取消关联缺陷成功“【+github#8537】 https://www.tapd.cn/55049933/s/1082862
This commit is contained in:
chenjianxing 2021-12-19 16:14:26 +08:00 committed by BugKing
parent 23ab8ff8a6
commit b779dfe360
3 changed files with 7 additions and 5 deletions

View File

@ -11,6 +11,7 @@
<script>
import {getCurrentWorkspaceId} from "@/common/js/utils";
import {LOCAL} from "@/common/js/constants";
export default {
name: "TemplateSelect",
@ -59,7 +60,7 @@ export default {
break;
}
} else {
if (item.system && item.platform === 'metersphere' && item.name === 'default') {
if (item.system && item.platform === LOCAL && item.name === 'default') {
this.$set(this.data, this.prop, item.id);
break;
}

View File

@ -544,9 +544,10 @@ export function handleMinderIssueDelete(commandName, isPlan) {
isAllIssue = false;
}
});
Promise.all(promises).then(() => {
success(i18n.t('test_track.case.minder_create_tip'));
});
if (promises.length > 0)
Promise.all(promises).then(() => {
success(i18n.t('test_track.case.minder_issue_delete_tip'));
});
return isAllIssue;
}
}

@ -1 +1 @@
Subproject commit 938171fa506d5b3d8fff9857cb21a83c8e31063e
Subproject commit 84bab3f25eaef5b58f2928ae5aed6dd50cad3d29