fix: 测试计划-测试用例编辑页面报错

This commit is contained in:
chenjianxing 2021-06-16 16:56:21 +08:00 committed by jianxing
parent 24a9febe30
commit 1f3ee4fada
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ export default {
Object.assign(item, response.data); Object.assign(item, response.data);
if (item.results) { if (item.results) {
item.results = JSON.parse(item.results); item.results = JSON.parse(item.results);
} else { } else if (item.steps) {
item.results = [item.steps.length]; item.results = [item.steps.length];
} }
if (item.issues) { if (item.issues) {