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) => {
|
(val) => {
|
||||||
if (val) {
|
if (val) {
|
||||||
const selectedPlanIds: (string | undefined)[] = propsRes.value.data.map((e) => e.testPlanId) || [];
|
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