fix: 测试计划-测试用例编辑页面报错
This commit is contained in:
parent
24a9febe30
commit
1f3ee4fada
|
@ -341,7 +341,7 @@ export default {
|
|||
Object.assign(item, response.data);
|
||||
if (item.results) {
|
||||
item.results = JSON.parse(item.results);
|
||||
} else {
|
||||
} else if (item.steps) {
|
||||
item.results = [item.steps.length];
|
||||
}
|
||||
if (item.issues) {
|
||||
|
|
Loading…
Reference in New Issue