fix(task): preserve copied scan parameters when selecting fixture
This commit is contained in:
parent
f18e449baf
commit
ed822f5a2a
@ -1047,7 +1047,12 @@ const fixtureChanged = async () => {
|
||||
message.warning('夹具关联的扫描方案不存在、已停用或未关联流程,请手动选择其他方案')
|
||||
return
|
||||
}
|
||||
form.testCaseId = String(testCase.id)
|
||||
const nextCaseId = String(testCase.id)
|
||||
if (String(form.testCaseId || '') === nextCaseId) {
|
||||
await loadVersions(true)
|
||||
return
|
||||
}
|
||||
form.testCaseId = nextCaseId
|
||||
await changeCase()
|
||||
}
|
||||
const loadVersions = async (selectPublished = false) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user