fix(测试跟踪): 脑图删除缺陷报错
--bug=1013924 --user=陈建星 【测试跟踪】默认工作空间脑图模式用例,删除缺陷有报错提示workspace id is null https://www.tapd.cn/55049933/s/1178071
This commit is contained in:
parent
11e3930010
commit
3f9874cc81
|
@ -1,5 +1,5 @@
|
|||
import i18n from "@/i18n/i18n";
|
||||
import {getCurrentProjectID} from "../../../../../common/js/utils";
|
||||
import {getCurrentProjectID, getCurrentWorkspaceId} from "../../../../../common/js/utils";
|
||||
import {success, warning} from "../../../../../common/js/message";
|
||||
import {deleteIssueRelate} from "@/network/Issue";
|
||||
import {minderPageInfoMap} from "@/network/testCase";
|
||||
|
@ -598,7 +598,12 @@ export function handleMinderIssueDelete(commandName, isPlan) {
|
|||
if (data.type === 'issue') {
|
||||
let caseResourceId = node.parent.data.id;
|
||||
let p = new Promise((resolve) => {
|
||||
deleteIssueRelate({id: data.id, caseResourceId, isPlanEdit: isPlan}, () => {
|
||||
deleteIssueRelate({
|
||||
id: data.id,
|
||||
caseResourceId,
|
||||
isPlanEdit: isPlan,
|
||||
workspaceId: getCurrentWorkspaceId()
|
||||
}, () => {
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue