fix(工作台): 测试计划进度显示错误

--bug=1025720 --user=宋昌昌 【工作台】我的待办-测试计划-测试进度显示错误 https://www.tapd.cn/55049933/s/1365641
This commit is contained in:
song-cc-rock 2023-04-23 14:35:54 +08:00 committed by jianxing
parent 73f380febd
commit bed9bba9ed
1 changed files with 1 additions and 0 deletions

View File

@ -343,6 +343,7 @@ export default {
item.tags = JSON.parse(item.tags); item.tags = JSON.parse(item.tags);
} }
item.passRate = item.passRate + '%'; item.passRate = item.passRate + '%';
item.testRate = item.testRate ? item.testRate : 0;
getPrincipalById(item.id).then(res => { getPrincipalById(item.id).then(res => {
let data = res.data; let data = res.data;
let principal = ""; let principal = "";