mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 20:49:56 +08:00
fix(测试用例): 计划Tab页空数据时报错提示
--bug=1044837 --user=宋昌昌 【测试用例】用例详情-用例未关联计划-点击测试计划标签报错 https://www.tapd.cn/55049933/s/1559719
This commit is contained in:
parent
e6613455fd
commit
ec07c38eb1
@ -215,7 +215,9 @@
|
||||
(val) => {
|
||||
if (val) {
|
||||
const selectedPlanIds: (string | undefined)[] = propsRes.value.data.map((e) => e.testPlanId) || [];
|
||||
getStatistics(selectedPlanIds);
|
||||
if (selectedPlanIds && selectedPlanIds.length > 0) {
|
||||
getStatistics(selectedPlanIds);
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user